home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS - Coast to Coast
/
simteldosarchivecoasttocoast.iso
/
pcmag
/
vol9n15.zip
/
ONPATH2.BAT
< prev
next >
Wrap
DOS Batch File
|
1988-12-07
|
419b
|
13 lines
@ECHO OFF
REM ONPATH2.BAT finds files anywhere on your path.
IF "%1"=="" GOTO NoParams
REM IF using DOS less than 3.3, replace "CALL" with
REM "COMMAND /C" in the following line.
FOR %%f IN (%PATH%) DO IF EXIST %%f.\%1 CALL ONPATH3 %%f.\%1
GOTO End
:NoParams
ECHO This batch file finds a given file specification
ECHO wherever it may appear on your path.
ECHO Syntax: "%0 filespec" (may use wildcards)
:End