bangor has asked for the wisdom of the Perl Monks concerning the following question:
Note the quotes around test.txt. I tried with the full pathperl test.pl --file='test.txt' ... Could not open 'test.txt': No such file or directory at test.pl
Script and file are in the same directory. Any help appreciatedperl test.pl --file='C:\scripts\test.txt' ... Could not open 'C:\scripts\test.txt': Invalid argument at test.pl
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to pass Windows filepaths on command line
by BrowserUk (Patriarch) on Aug 28, 2014 at 17:57 UTC | |
|
Re: How to pass Windows filepaths on command line
by davido (Cardinal) on Aug 28, 2014 at 17:55 UTC | |
|
Re: How to pass Windows filepaths on command line
by toolic (Bishop) on Aug 28, 2014 at 17:51 UTC | |
by bangor (Monk) on Aug 28, 2014 at 17:53 UTC | |
by toolic (Bishop) on Aug 28, 2014 at 17:57 UTC | |
|
Re: How to pass Windows filepaths on command line
by bangor (Monk) on Aug 28, 2014 at 18:04 UTC | |
by jellisii2 (Hermit) on Aug 28, 2014 at 20:14 UTC | |
|
Re: How to pass Windows filepaths on command line
by sandy105 (Scribe) on Aug 29, 2014 at 06:18 UTC |