http://www.perlmonks.org?node_id=992119


in reply to Re^3: execute a vbscript from a perl script.
in thread execute a vbscript from a perl script.

:-)

"cscript \"C:\\ProgramData\\HP\\HP BTO Software\\bin\\instrumentation\\Failover.vbs\" ";

should do the trick

Replies are listed 'Best First'.
Re^5: execute a vbscript from a perl script.
by runrig (Abbot) on Sep 06, 2012 at 15:56 UTC
    Avoid the back-whacking..use "q":
    my $cmd = q(cscript "C:\ProgramData\HP\HP BTO Software\bin\instrumenta +tion\Failover.vbs");
Re^5: execute a vbscript from a perl script.
by fisher (Priest) on Sep 07, 2012 at 08:21 UTC
    why not 'cscript "C:\ProgramData\HP\HP BTO Sortware\bin\insrumentation\Failover.vbs"'; ?