3 ms·
One thing that make Windows paths wired is that Windows API, NTFS and most Windows tools have different restrictions on file paths. NTFS would accept almost an
by Calzifer 3y ago
One thing that make Windows paths wired is that Windows API, NTFS and most Windows tools have different restrictions on file paths.
NTFS would accept almost anything. The Windows API (I think of the old Win32 one) would apply most restrictions the article mentions.
But for example not the normalization part. A filename can end with a space, no problem.
That lead me once to a minor bug in .NET Framework. One of the path related functions (I think it was Directory.move) did not correctly apply this normalization and could produce directories with trailing whitespace. Good luck removing/fixing those in Windows Explorer.
- pixl97 3y ago>NTFS would accept almost anything. So for the longest time Adobe software had random bugs where it would create a series of folders name "Application Data" repeating recursively 3000+ characters deep. Yea, that was fun to try to delete.
- proactivesvcs 3y agoSounds like it wasn't handling junctions correctly. I wonder what obscure/ancient code caused that.