home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
utils
/
antivir2.zip
/
FORMAT.BAT
< prev
next >
Wrap
DOS Batch File
|
1987-11-12
|
577b
|
26 lines
echo off
cls
if %1x%1==x goto :nodrive
if %1==C: goto :harddisk
if %1==c: goto :harddisk
if %1==D: goto :harddisk
if %1==d: goto :harddisk
if %1==E: goto :harddisk
if %1==e: goto :harddisk
!@#$ %1
goto :end
:nodrive
echo
echo
echo
echo No drive has been specified. Redo command with drive letter.
echo
echo
goto :end
:harddisk
echo
echo WARNING!!! ILLEGAL ATTEMPT TO FORMAT HARD DISK.
goto :harddisk
goto :end
:end