home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-387-Vol-3of3.iso
/
i
/
incmd20.zip
/
INCOMAND.EXE
/
WIPEDIR.GBA
< prev
Wrap
Text File
|
1992-08-15
|
326b
|
18 lines
@ECHO OFF
IF %2!==! GOTO ok
ECHO No modifiers are allowed
GOTO END
:OK
rem don't put a "\" after %1 because it might be A:, and that would mean root
DI %1... -D/EXIST
IF errorlevel 1 GOTO NOFILES
idel %1...*.* /nol
:NOFILES
DI %1... +D/EXIST
IF errorlevel 1 GOTO NODIRS
ird %1...*.* /nol
:NODIRS
ird %1
:END