hpomw has asked for the wisdom of the Perl Monks concerning the following question:
Hello Experts,
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.
i tried
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-
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: execute a vbscript from a perl script.
by Abe (Acolyte) on Sep 06, 2012 at 14:50 UTC | |
by hpomw (Initiate) on Sep 06, 2012 at 15:04 UTC | |
by Corion (Patriarch) on Sep 06, 2012 at 15:11 UTC | |
by hpomw (Initiate) on Sep 06, 2012 at 15:18 UTC | |
by Corion (Patriarch) on Sep 06, 2012 at 18:54 UTC | |
by Abe (Acolyte) on Sep 06, 2012 at 15:35 UTC | |
by runrig (Abbot) on Sep 06, 2012 at 15:56 UTC | |
by fisher (Priest) on Sep 07, 2012 at 08:21 UTC | |
Re: execute a vbscript from a perl script.
by aitap (Curate) on Sep 06, 2012 at 18:10 UTC |
Back to
Seekers of Perl Wisdom