Contributed By: Ernie Jones [email protected]
Submitted On: 13/11/01
Remark>This will erase tapes in 2 or more tape drives
Remark>
Let>Name=0
Goto>StartErase
Label>NextTape
Let>Name=Name+1
Remark>If you have more than 2 tape drives, change this next line
If>Name=2,EndErase
Label>StartErase
Remark>Erase Tape
run program>ntbackup /tape:%Name%
WaitWindowOpen>Backup
Wait>10
Press ALT
Send Character/Text>oe
Release ALT
WaitWindowOpen>Erase Tape
Label>SendAnotherCtoTape
Send Character/Text>c
Wait>2
IfWindowOpen>Erase Tape,SendAnotherCtoTape
WaitWindowOpen>Erase Status
Label>WaitForEraseTape
Wait>2
Press Enter
IfWindowOpen>Erase Status,WaitForEraseTape
Wait>10
Press ALT
Send Character/Text>ox
Release ALT
WaitWindowClosed>Backup
Wait>10
Remark>Eject tape
run program>ntbackup eject /tape:%Name%
WaitWindowOpen>Backup
Label>WaitForEjectTape
Wait>2
IfWindowOpen>Backup,WaitForEjectTape
Wait>10
Goto>NextTape
Label>EndErase
NT4 Erase Backup Tapes using 2 tape drives
Moderators: Dorian (MJT support), JRL, Phil Pendlebury
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact: