home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 15 / CD_ASCQ_15_070894.iso / maj / 2033 / go.bat < prev    next >
DOS Batch File  |  1994-06-01  |  639b  |  20 lines

  1. echo off
  2. if "%1"=="/?" goto usage
  3. if "%1"=="" goto usage
  4. d /IW[echo $l$r$f Found!//$l//cd $p$B]R~ %1 %2 %3 %4 %5 %6 %7 %8 %9
  5. goto exit
  6. :usage
  7. echo.
  8. echo Search whole drive(s) for files/dirs matching specified options
  9. echo and go to the first directory that contains a match.
  10. echo USAGE: GO p1 p2 p2 ..pn
  11. echo Where "p1 p2..pn" are search options, for example:
  12. echo.
  13. echo  GO FRED*     "Goto the directory that contains a file/dir matching FRED*"
  14. echo  GO /T        "Goto the directory that contains a file/dir modified today"
  15. echo  GO C: D: *Z* "Search drives C: and D: and goto a file/dir containing a Z"
  16. echo.
  17. :exit
  18.  
  19.  
  20.