Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by Abe (Acolyte)
on Sep 06, 2012 at 15:35 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://992119]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2024-04-26 03:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found