re: Scheduled Tasks
Sunday, March 19, 2006 at 11:15 am Windows XP Annoyances Discussion Forum
Posted by Rich Kurtz
(12246 messages posted)
Joe's List / System cleanup
When run as a scheduled task, the environment is not the same as it is when you are
logged on and run it from a command prompt. You need to speficy the fully qualified
path to xxcopy. For instance, if xxcopy is installed in c:\programs\xxcopy then you
would use:
c:\programs\xxcopy\xxcopy g: i:\hdrive /backup /bn
May also be a problem with parameter passing so the safest way to accomplish this
is to create a batch (.bat) file and run the command from there.
Create xback.bat in the same directory that xxcopy.exe is in. Put one line in it:
xxcopy g: i:\hdrive /backup /bn
(you don't need the path info now)
Now in your scheduled task call the batch file:
c:\programs\xxcopy\xback.bat
That should work.
Repair install /
Clean install
- Written in response to:
- Scheduled Tasks (Paul Hewitt: Sunday, March 19, 2006 at 10:53 am)
There are presently no replies to this message.
|
|
All messages in this thread [show all]
 |  | re: Scheduled Tasks (Rich Kurtz: Sun, Mar 19, 2006, 11:15 am) |
| |
| |
| |
Return to the Windows XP Discussion Forum
|
|