Perl cannot run batch commands; only cmd.exe can run them -- ie. cmd.exe is the interpreter for batch commands, just as perl is the interpreter for Perl code -- so no; if you want run a batch file, it has to be done by cmd.exe.
In reply to Re^7: Windows environment variable not set if calling from a perl program (goto :end)
by BrowserUk
in thread Windows environment variable not set if calling from a perl program
by svasa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |