Tag Info

New answers tagged


Yes, if you only do the replacement on Windows, and turn it off when running on other systems. Doing the replacement on Unix-like systems is wrong because \ is a valid character in a file or directory name on Unix-like platforms. On these platforms, only NUL and / are forbidden in file and directory names. Also, some Windows API functions (mostly the lower ...

Top 50 recent answers are included