Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^4: execute a vbscript from a perl script.

by Abe (Acolyte)
on Sep 06, 2012 at 15:35 UTC ( #992119=note: print w/replies, xml ) Need Help??


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"'; ?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://992119]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2017-07-26 16:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (398 votes). Check out past polls.