home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windows News 1997 January
/
WnewsNo40.iso
/
Addons
/
SAVEME2
/
SAVEME.BAT
< prev
next >
Wrap
DOS Batch File
|
1996-11-03
|
1KB
|
51 lines
echo off
cls
echo.
echo Format a: ?
pause
echo Last chance to stop.
echo All Data on Disk will be Lost. Press Ctrl-C now or
pause
echo.
c:
cd C:\Windows
cd Command
Format a:/q/u/v
md a:\SaveMe
copy c:\SaveMe\SaveMe\*.* A:\SaveMe
copy C:\SaveMe\Restore.bat A:\Restore.bat
copy C:\SaveMe\Setname.bat A:\Setname.bat
echo Configuration Files Will Now Be Saved
echo Press Ctrl+C to cancel or
pause
C:
cd c:\windows
attrib -s -h -r User.dat
C:\SaveMe\SaveMe\lha.exe a a:\SaveMe\Backup00 User.dat
attrib -s -h -r System.ini
C:\SaveMe\SaveMe\lha.exe a a:\SaveMe\Backup00 System.ini
attrib -s -h -r Win.Ini
C:\SaveMe\SaveMe\lha.exe a a:\SaveMe\Backup00 Win.ini
attrib -s -h -r System.dat
C:\SaveMe\SaveMe\lha.exe a a:\SaveMe\Backup00 System.dat
attrib -s -h -r Protocol.ini
C:\SaveMe\SaveMe\lha.exe a a:\SaveMe\Backup00 Protocol.ini
c:
Cd\
attrib -s -h -r Autoexec.bat
C:\SaveMe\SaveMe\lha.exe a a:\SaveMe\Backup00 Autoexec.bat
attrib -s -h -r Config.sys
C:\SaveMe\SaveMe\lha.exe a a:\SaveMe\Backup00 Config.sys
cls
echo.
echo.
echo Remove Disk And Store in a Safe Place
echo Label Disk SaveMe (Include Today's Date)
pause
echo.
goto end
:End
cls