Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2015-07-29 04:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (260 votes), past polls