Problems? Is your data what you think it is? | |
PerlMonks |
Re^3: execute vbscript code inline in Perl scriptby NetWallah (Canon) |
on Sep 08, 2017 at 16:03 UTC ( [id://1198955]=note: print w/replies, xml ) | Need Help?? |
"qx" requires a shell command. Typically, to run vbscript (Non GUI), you would use "cscript.exe" , (with "//B" for "Batch") and then pass in a file name containing vbscript commands.
THis article claims you can do it without a vbscript file, but I do not nderstand it: My recommendation is to use perl to create a file, then invoke via qx -> cscript.ext -> File you created. All power corrupts, but we need electricity.
In Section
Seekers of Perl Wisdom
|
|