Quote:
Originally Posted by jiml8
Console apps that don't deal with the system can do it (although anything involving a directory gets into issues with forward slash vs backslash), but if you get more complicated it gets hard.
|
The DOS/Windows file-handling functions have always accepted either kind of slash. It's only command.com/cmd.exe that requires backslashes.
A more important difference between Linux and Windows command lines is in how they handle wildcard expansion. In Linux, the shell does it; in Windows, your program has to do it.