Windows Path Separators
Cluster focuses on Windows' support for forward slashes (/) as path separators alongside backslashes (\), cross-platform compatibility, and recommendations to use forward slashes for better portability across Windows and Unix-like systems.
Activity Over Time
Top Contributors
Keywords
Sample Comments
Always use /Windows can, surprisingly, handle it just fine.
In Windows backslashes are analogous to slashes in the path.
Doesn't Windows accept forward slashes in most situations?
Windows supports regular / symbols in pathnames. What system doesn't?
How do you type paths in Windows? Do you use the forward slash instead?
point is - it has been possible to use the forward slash in windows for over 20y... except in some UIs that insist that it has to be backslash.
Using forward slashes on windows will work fine.
But... does it retain Windows's dumb use of backslashes?
This repository is Windows only, it uses \ as a path delimiter all over the place. Gives you weird error messages on Linux.Consider using / instead: it is accepted on both Windows and UNIX.
Please don't repeat some guy's guess about spaces as fact, especially when that's not how windows parses paths.