in reply to How to execute dos commands from Perl
Note the use of the full path to cmd.exe, using FORWARD SLASHES.perl -e "print for qx|c:/windows/system32/cmd.exe /c test.bat| "
I hope life isn't a big joke, because I don't get it.
-SNL
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to execute dos commands from Perl
by Poornima (Initiate) on May 31, 2012 at 06:35 UTC | |
by NetWallah (Canon) on May 31, 2012 at 13:52 UTC | |
by Marshall (Canon) on May 31, 2012 at 07:06 UTC |