NTBACKUP help please


T

Tony Tuccillo

Hi,
I'm currently using the following batch file on 2003
standard server:
==========================================================
rsm.exe refresh /LF"Seagate STT3401A"
timeout /t 30 /nobreak
for /f "Tokens=1-4 Delims=/ " %%i in ('date /t') do set
dt=%%i-%%j-%%k-%%l
for /f "Tokens=1" %%i in ('time /t') do set tm=-%%i
set tm=%tm::=-%
set dtt=%dt%%tm%
C:\WINDOWS\system32\ntbackup.exe backup "@C:\Documents
and Settings\Administrator\Local Settings\Application
Data\Microsoft\Windows
NT\NTBackup\data\Eagle.bks" /n "Media Created %
dtt%" /d "Set Created %dtt%" /v:no /r:no /rs:no /hc:blush:n /m
normal /j "Eagle" /l:s /p "miniQIC"
rsm.exe eject /PF"Media Created %dtt% - 1" /astart
exit
==========================================================

and I want to use the same batch file on a Windows 2000
standard server. However, on the second line,
the "timeout" command doesn't work on Windows 2000. Can
someone tell me what the Windows 2000 command equivalent
is to pause the batch file for 30 seconds ?

Most appreciated !

Tony
 
Ad

Advertisements

Ad

Advertisements

G

guard

and I want to use the same batch file on a Windows 2000
standard server. However, on the second line,
the "timeout" command doesn't work on Windows 2000. Can
someone tell me what the Windows 2000 command equivalent
is to pause the batch file for 30 seconds ?
Using only native windows commands:

%.Wait% 30

See (http://ntlib.com/MtCmds/CrystalClear/Wait.htm)

*******

-tsg

/-----------------+---------------+----------------------\
| COMPATIBILITY | CLARITY | SPEED |
| Write code ONCE | Make it clear | THEN...Make it fast! |
\-----------------+---------------+----------------------/
400+ command-line resources using ONLY native NT commands!
(http://TheSystemGuard.com/default.asp#MasterCommandList)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top