home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
UTILS2
/
POCK40.ZIP
/
GO.BAT
< prev
next >
Wrap
DOS Batch File
|
1994-03-27
|
639b
|
20 lines
echo off
if "%1"=="/?" goto usage
if "%1"=="" goto usage
d /IW[echo $l$r$f Found!//$l//cd $p$B]R~ %1 %2 %3 %4 %5 %6 %7 %8 %9
goto exit
:usage
echo.
echo Search whole drive(s) for files/dirs matching specified options
echo and go to the first directory that contains a match.
echo USAGE: GO p1 p2 p2 ..pn
echo Where "p1 p2..pn" are search options, for example:
echo.
echo GO FRED* "Goto the directory that contains a file/dir matching FRED*"
echo GO /T "Goto the directory that contains a file/dir modified today"
echo GO C: D: *Z* "Search drives C: and D: and goto a file/dir containing a Z"
echo.
:exit