Kwaddy,
This script runs test.bat and then does a backup using pkzip.
on the ss.run line the ,1,true at the end makes the script
wait until test.bat is over before running the backup
Enjoy Bob
Set ss = CreateObject("WScript.Shell"
ss.run "C:\folder\folder\test.bat",1,true
set ss = nothing
returncode=msgbox ("mount a 3.5 diskette for backup",65,"backup start"
if returncode=1 then
Set ss = CreateObject("WScript.Shell"
ss.run "COMMAND /C C:\util\pkzip.exe a:master77.zip y:\rds\rds77\master.txt ",1,TRUE
set ss = nothing
msgbox "backup is done please remove the diskette",64,"backup finished"
end if
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.