home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Plus SuperCD 45
/
SuperCD45.iso
/
talleres
/
vayuda
/
helpscrn
/
script
/
backup.scr
next >
Wrap
Text File
|
2000-05-27
|
2KB
|
45 lines
; This script drives a Microsoft Backup (Win 98 version written by Seagate) session.
; Assumes pre-existing backup job called Test. To use it with your own backup job,
; use search and replace to change all instances of Test to whatever name you want.
; NOTE - no error checking in this. Assumes a perfect run.
; by Ian Sharpe, PC Plus magazine
; Run msbackup.exe, maximised, in its home start-up directory. Note need to put \\ instead of \
start,C:\\Program Files\\Accessories\\BACKUP\\MSBACKUP.EXE,max,C:\\Program Files\\accessories\\backup\\system
; Wait for the window to appear
wait,Microsoft Backup
; Send to window 'Microsoft Backup [Alt][O] followed by Return (\n)
; ...opts to open an existing backup job and then press [Return] key
send,Microsoft Backup,%o\n
; Wait for the next dialog to open
wait,Open Backup Job
; Send to it [Alt][J] then "Test", then [Return]
send,Open Backup Job,%jTest\n
; Wait for main Window headed 'Microsoft Backup - [Test]'
wait,Microsoft Backup - [Test]
; Start the backup job with [Alt][S]
send,Microsoft Backup - [Test],%s
; Wait for the next dialog to open
wait,Backup Progress - Test
; Wait for next dialog, which reports success and contains an OK button
; '\n' sends [Return] to close dialog
wait, Microsoft Backup
send,Microsoft Backup,\n
; OK next dialog too
wait,Backup Progress - Test
send,Backup Progress - Test,\n
; Back to main Window... send [Alt][J] [X] to exit program
wait,Microsoft Backup - [Test]
send,Microsoft Backup - [Test],%jx