Well, I, for one, have upvoted your post because thanks to it I now know that MS-windows offers the CSCRIPT.EXE command which "Starts a script to run in a command-line environment." (https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/cscript). Just that sentence confirms to me that MS apart from incompetent developers also sports illiterate copy editors. Quite funny is the /nologo flag and that the maximum runtime is 9 hours (see /t:<seconds>) which is very wise since MS OSes need a reboot every couple of hours.
Apropos the content of your script, is this OK? $OLD =~ tr|\\||s; # Remove duplicate backslash. .
edit:false alarm for $OLD, sorry I missed the /s modifier
bw, bliako
In reply to Re^2: Problem running shell command from Perl
by bliako
in thread Problem running shell command from Perl
by CrashBlossom
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |