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

I think you can update your PATH with (I did not test this on windows):
$ENV{PATH}="C:\\xxx\\yyy"

Replies are listed 'Best First'.
Re^4: Script Failing to Run through Task Scheduler in Windows
by sreekanth.adari (Initiate) on Feb 06, 2015 at 09:59 UTC
    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,