K
Keith O'Connell
Hi,
If this is the wrong group for this type of question, then just point me to
where I should be, if not, I have a question which must have been
encountered before, so if I could have a little shared wisdom....
I have created a batch file which runs perfectly if clicked direct or from a
shortcut in the start menu. I created it because I wanted to run it as a
scheduled task at 04:00hrs.
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
--
@ECHO OFF
C:
CD "C:\Documents and Settings\Keith\My Documents\Scripts"
REM Aragorn
"C:\Program Files\WinZip\wzzip" -u -Pr -Whs -Jhrs D:Backup_Aragorn.zip
@Backup_Aragorn.txt
REM Gimli
"C:\Program Files\WinZip\wzzip" -u -Pr -Whs -Jhrs D:Backup_Gimli zip
@Backup_Gimli.txt
REM Merry
"C:\Program Files\WinZip\wzzip" -u -Pr -Whs -Jhrs D:Backup_Merry.zip
@Backup_Merry.txt
REM Pipin
"C:\Program Files\WinZip\wzzip" -u -Pr -Whs -Jhrs D:Backup_Pipin.zip
@Backup_Pipin.txt
Keith
_____
Keith O'Connell.
Maidstone, Kent. (UK)
(e-mail address removed)
If this is the wrong group for this type of question, then just point me to
where I should be, if not, I have a question which must have been
encountered before, so if I could have a little shared wisdom....
I have created a batch file which runs perfectly if clicked direct or from a
shortcut in the start menu. I created it because I wanted to run it as a
scheduled task at 04:00hrs.
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
--
@ECHO OFF
C:
CD "C:\Documents and Settings\Keith\My Documents\Scripts"
REM Aragorn
"C:\Program Files\WinZip\wzzip" -u -Pr -Whs -Jhrs D:Backup_Aragorn.zip
@Backup_Aragorn.txt
REM Gimli
"C:\Program Files\WinZip\wzzip" -u -Pr -Whs -Jhrs D:Backup_Gimli zip
@Backup_Gimli.txt
REM Merry
"C:\Program Files\WinZip\wzzip" -u -Pr -Whs -Jhrs D:Backup_Merry.zip
@Backup_Merry.txt
REM Pipin
"C:\Program Files\WinZip\wzzip" -u -Pr -Whs -Jhrs D:Backup_Pipin.zip
@Backup_Pipin.txt
Keith
_____
Keith O'Connell.
Maidstone, Kent. (UK)
(e-mail address removed)