in reply to Re: Script Failing to Run through Task Scheduler in Windows
in thread Script Failing to Run poperly through Task Scheduler in Windows

Thanks a lot for the reply... I copied the script to the correct path and trigger the script using task scheduler. Do I need to write the path as well before the command ?
  • Comment on Re^2: Script Failing to Run through Task Scheduler in Windows

Replies are listed 'Best First'.
Re^3: Script Failing to Run through Task Scheduler in Windows
by i5513 (Pilgrim) on Feb 05, 2015 at 12:05 UTC
    I think you can update your PATH with (I did not test this on windows):
    $ENV{PATH}="C:\\xxx\\yyy"
      After specifying the path using $ENV{PATH}="C:\\xxx\\yyy" Please let me know, how I use it to run the command in that path ? My command in my script is in below line : qx(raidcom get port)

        Please read PATH_(variable) for understand how PATH environment variable works

        Regards,