in reply to Re^2: perl subroutine in XMetaL macro - $path not being passed to batch file on Windows 7
in thread perl subroutine in XMetaL macro - $path not being passed to batch file on Windows 7
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: perl subroutine in XMetaL macro - $path not being passed to batch file on Windows 7
by roboticus (Chancellor) on Dec 17, 2014 at 01:53 UTC | |
|
Re^4: perl subroutine in XMetaL macro - $path not being passed to batch file on Windows 7
by Anonymous Monk on Dec 16, 2014 at 22:16 UTC |