home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hall of Fame
/
HallofFameCDROM.cdr
/
pcmag
/
v9n12.lzh
/
D2.BAT
< prev
next >
Wrap
DOS Batch File
|
1990-05-23
|
319b
|
17 lines
D2.BAT
@ECHO OFF
SET allfiles=*.*
IF [%1]==[] GOTO showfiles
SET allfiles=%1*.* *.%1* %1\*.*
IF EXIST %1*.* GOTO showfiles
IF EXIST *.%1* GOTO showfiles
IF EXIST %1\*.* GOTO showfiles
ECHO Sorry, no "%1" files found...
GOTO End
:showfiles
FOR %%v IN (%allfiles%) DO ECHO %%v
:End
SET allfiles=