|laziness, impatience, and hubris|
execute a vbscript from a perl script.by hpomw (Initiate)
|on Sep 06, 2012 at 14:38 UTC||Need Help??|
hpomw has asked for the
wisdom of the Perl Monks concerning the following question:
I have a simple perl script to check the last modified time of a file and if files's time was not modifed in last 5 minute as a next course of action i wan to execute a vb script.
my $cmd = "cscript C:\\ProgramData\\HP\\HP BTO Software\\bin\\instrumentation\\Failover.vbs";
and then used qx($cmd);
but this script will not be executed.
Could you help me with this?-KAKA-