in reply to Re^2: moving from mac to PC
in thread moving from mac to PC
... use slashes, not backslashes. WIN understand both ...... except on the command line or with respect to anything handled by the command line interpreter
The only real problem is the command interpreter. But if you use the command interpreter, your code is already far from being portable.
How external programs handle command line arguments depends on the individual program. Most programs with a DOS legacy treat the forward slash as switch introducing character, as do many programs written for Windows. But programs from other platforms have no problems with forward slashes in file names on the command line.
Alexander
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: moving from mac to PC -- win internal commands
by Discipulus (Canon) on Oct 28, 2016 at 07:25 UTC | |
by RonW (Parson) on Oct 28, 2016 at 18:19 UTC | |
by afoken (Chancellor) on Oct 29, 2016 at 14:46 UTC |