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

  1. echo off
  2. if "%1"=="/?" goto usage
  3. if "%1"=="" goto usage
  4. d /IWW %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 filespec(s).
  9. echo USAGE: WHEREIS p1 p2 p2 ..pn
  10. echo Where "p1 p2..pn" are search options, for example:
  11. echo.
  12. echo  WHEREIS FRED*         "Files matching FRED*"
  13. echo  WHEREIS /Tc A:        "Files modified today and copy to A:"
  14. echo  WHEREIS /}5k'Lost'    "Files greater than 5k containing the string 'Lost'"
  15. echo.
  16. :exit
  17.