Use double quotes (or no quotes if the path doesn't contain spaces) instead of single:perl test.pl --file="test.txt"
In reply to Re: How to pass Windows filepaths on command line
by BrowserUk
in thread How to pass Windows filepaths on command line
by bangor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |