home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 13
/
CD_ASCQ_13_0494.iso
/
maj
/
2033
/
go.bat
< prev
next >
Wrap
DOS Batch File
|
1994-03-26
|
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