Re: Novice Script Question
From: Michael Bednarek (zo_at_gtz.pbz.nh)
Date: 12/20/04
- Next message: Mark Coutinho: "If username = stuff"
- Previous message: Al Dunbar [MS-MVP]: "Re: Novice Script Question"
- In reply to: Keith O'Connell: "Novice Script Question"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 20 Dec 2004 03:06:51 GMT
On Sun, 19 Dec 2004 16:36:51 -0000, "Keith O'Connell"
<kroc@blueyonder.co.uk> wrote in
microsoft.public.win2000.cmdprompt.admin:
>However, when I run it the scripts runs only up to the completion of the
>first zip file. What is it that am I unaware of that will stop a batch file
>that works perfectly in normal use from working properly in scheduled use?
>The batch file is included below
>--
(Don't use the sig separator in the middle of your message.)
[snip]
>"C:\Program Files\WinZip\wzzip" -u -Pr -Whs -Jhrs D:Backup_Aragorn.zip @Backup_Aragorn.txt
[snip]
Is D: a network drive? If so, you have to ensure that the scheduled job
has it mapped.
AFAIK there is no way of telling what the "current directory" on D:
might be when the scheduled job runs; specify a fully qualified
filename.
To debug, put a PAUSE command at the end (at least), run the scheduled
job "soon", and inspect the console output.
-- Michael Bednarek http://mbednarek.com/ "POST NO BILLS"
- Next message: Mark Coutinho: "If username = stuff"
- Previous message: Al Dunbar [MS-MVP]: "Re: Novice Script Question"
- In reply to: Keith O'Connell: "Novice Script Question"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|