home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Phoenix CD 2.0
/
Phoenix_CD.cdr
/
11a
/
a_backup.zip
/
AUTOBACK.BAT
next >
Wrap
DOS Batch File
|
1986-11-17
|
3KB
|
67 lines
:File Name: AutoBack.Bat
:Written : March 15, 1986
:Purpose : Automatically Backs Up Files on Power Up
: : Insert at Start of AutoExec.Bat
: : NEEDED - Basic, BootPrg, DOS BackUp
Echo OFF
Cls
Echo █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█
Echo █ ╔════════════════════════════════════════════════════╗ █
Echo █ ║ ║ █
Echo █ ║ This Program will Automatically BackUp ║ █
Echo █ ║ your Hard Disk to Drive A:, on BootUp. ║ █
Echo █ ║ ║ █
Echo █ ║ Sloane Waldie ║ █
Echo █ ╚════════════════════════════════════════════════════╝ █
Echo █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
Path=C:\;C:\System
: ╔══════════════════════════════════════════════════════════╗
: ║ BootPrg creates BOOTTEST (if) this is the first ║
: ║ System Boot Up of the Day...... ║
: ╚══════════════════════════════════════════════════════════╝
Basic C:\BootPrg
: ╔══════════════════════════════════════════════════════════╗
: ║ If File "BootTest" exists then the System has ║
: ║ already Booted Today - DO NOT DO ANOTHER BACKUP! ║
: ╚══════════════════════════════════════════════════════════╝
If Exist C:\BootTest Goto NOBACKUP
Cls
Echo
Echo ╔══════════════════════════════════════════════════════════╗
Echo ║ System is ready to Back-Up all REVISED ║
Echo ║ Files from ALL Subdirectories and append ║
Echo ║ to the Disk in Drive "A"! ║
Echo ╠══════════════════════════════════════════════════════════╣
Echo ║ Insert "DAILY Back-Up Disk" in Drive "A" ║
Echo ╠══════════════════════════════════════════════════════════╣
Echo ║ Press - Return - to Continue! ║
Echo ║ Ctrl-Break to Exit! ║
Echo ╚══════════════════════════════════════════════════════════╝
Pause
: ╔══════════════════════════════════════════════════════════╗
: ║ Backup ALL Revised Files on Drive "C" in ALL Sub- ║
: ║ Directories and append then to the Disk in Drive A ║
: ╚══════════════════════════════════════════════════════════╝
BackUp C: A:/s/m/a
Echo off
cls
Echo
Echo ╔══════════════════════════════════════════════════════════╗
Echo ║ ║
Echo ║ Backup Complete - Press Any Key to Continue ║
Echo ║ ║
Echo ╚══════════════════════════════════════════════════════════╝
pause
Goto END
:NOBACKUP
Erase C:\BootTest
Cls
Echo
Echo ╔══════════════════════════════════════════════════════════╗
Echo ║ ║
Echo ║ No BackUp Necessary - Already done for Today ║
Echo ║ ║
Echo ╚══════════════════════════════════════════════════════════╝
:END