3 ms·
On windows? Of course you can.
by SSLy 7y ago
On windows? Of course you can.
- edgyquant 7y agoI'm certain you can on Linux as well. Only Macs old HFS would not allow it.
- cataflam 7y agoIsn't this a fairly recent change?
- amaranth 7y agoNTFS has always been case sensitive, Windows API just lets you treat it as case insensitive. If you pass `FILE_FLAG_POSIX_SEMANTICS` to `CreateFile` you can make files that differ only in case.
- mathw 7y agoGood luck using those in some tools which use the API differently though. Windows filenames are endless fun. What's the maximum length of the absolute path of a file? Why, that depends on which API you're using to access it!
- rurban 7y agoEven worse on Unix where it depends on the mount type. Haven't seen much proper long filename support in Unix apps or libs, it's much better in Windows land. Garbage in garbage out is also a security nightmare as names are not identifiable anymore. You can easily spoof such names.