Link to home
Start Free TrialLog in
Avatar of iamtsubasa
iamtsubasa

asked on

Redirecting stdout to log file in Task Scheduler

In WindowsXP Scheduled Task folder, I would like to log stdout and stderr for each job to a log file.  I tried something like this "exe.exe > test.log" but it doesn't work.  How does one log MSTask stdout/stderr information?
Avatar of Lee W, MVP
Lee W, MVP
Flag of United States of America image

Not sure if this is something you can use, but there are commands like "tasklist" and "taskkill".
ASKER CERTIFIED SOLUTION
Avatar of kapes
kapes

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of iamtsubasa
iamtsubasa

ASKER

Using cmd /c works great!  Should have thought of that myself!  :)
Thanks, kapes.