in reply to Directory with space on command line
Command line argument parsing is handled by your shell, not by Perl. See the documentation for your shell for details on how it handles single and double quotes.
Unix shell documentation is pretty easy to find. Under Windows, when running CMD.EXE, your options include enclosing the path in double quotes, escaping the space characters, or reverting to DOS-style 8.3 filenames. The new PowerShell is a bit more sophisticated, but enclosing paths in single-quotes is usually correct.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Directory with space on command line
by JNourse (Initiate) on Mar 13, 2011 at 00:14 UTC | |
by mvaline (Friar) on Jun 16, 2011 at 15:09 UTC |