Sorry, but I haven't got to Windows 7 yet, so I've not had to look for a solution to this. You'll need to look/ask elsewhere (try MS forums?).
system 'wscript arg1 arg2';
system q[x:\path\to\thebatch.bat];
system qq[$^X c:\\path\\to\\thePerlScript.pl arg1 arg2];
But I assumed that there must be very special circumstances for what you are doing because no one could arrive at that level of unnecessary indirection by accident.
In reply to Re^3: perl subroutine in XMetaL macro - $path not being passed to batch file on Windows 7
by BrowserUk
in thread perl subroutine in XMetaL macro - $path not being passed to batch file on Windows 7
by spb54
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |