Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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


Comment on Re^4: execute a vbscript from a perl script.
Download Code
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (9)
As of 2014-09-02 22:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (32 votes), past polls