What's the general trick to get the same command you can successfully use Run with in a Scheduled Task in 2008? I didn't have problems on a 2003 Server.
I've got two Scheduled Tasks that run fine from a Run window and a Shortcut but they immediately stop and produce Return Codes as Scheduled Tasks:
The first one is a relatively simple batch file -
produces a Return Code of 9009. The CMD file was selected using the Browse button in the Add Action window.
The second runs a local program with several parameters -
"C:\Program Files (x86)\vendor\program.exe" -x "\\server\share\folder\folder\parameter.file"
produces Return Code 143. 2008 moves the parameters into the Add Arguments box automatically.
Thanks in advance!