in reply to Re^2: execute vbscript code inline in Perl script
in thread execute vbscript code inline in Perl script
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:
https://stackoverflow.com/questions/9074476/is-it-possible-to-embed-and-execute-vbscript-within-a-batch-file-without-using-a?noredirect=1&lq=1.
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.
|
|---|