home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-385-Vol-1of3.iso
/
d
/
ds115.zip
/
DSINSTAL.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-05-27
|
953b
|
37 lines
echo off
set d1=%1
set d2=%2
if t%d1%==t set d1=a
if t%d2%==t set d2=c
echo drive %d1% drive %d2%
echo Use this installation file only if DISKSECURE is on a floppy disk (A/B)
echo Otherwise install manually (see documentation)
echo DISKSECURE will be installed from drive %d1% to drive %d2%
echo press control-C if incorrect.
pause
%d2%:
cd \
md ds
cd ds
%d1%:
copy *.* %d2%:
%d2%:
echo Do I have permission to add DISKSECURE verification to your
echo AUTOEXEC.BAT file ? (y/n)
ask
if errorlevel 89 if not errorlevel 90 goto addbat
goto next
:addbat
echo The original AUTOEXEC.BAT is being saved as %d2%:\ds\autoexec.ds
copy c:\autoexec.bat autoexec.ds >nul
copy chksec.exe c:\ >nul
copy ds.b+autoexec.ds c:\autoexec.bat >nul
goto dsin
:next
echo It is suggested that the command lines in file DS.B be added to your
echo startup procedure to verify proper operation of DISKSECURE.
:dsin
disksec
:endit
set d1=
set d2=