Welcome to the Monastery | |
PerlMonks |
Re: Command lineby Marshall (Canon) |
on Aug 08, 2011 at 10:28 UTC ( [id://919190]=note: print w/replies, xml ) | Need Help?? |
Windows thinks that the trailing \" means an escaped version of " and doesn't see it as a normal " which would end the argument's quoting. So you need one more \ if you want to end the first arg with a \ character. perl test.pl "D:\First Folder\test\\" "D:\Second Folder" This is a Windows shell thing and there is really nothing that Perl can do about it.
In Section
Seekers of Perl Wisdom
|
|