home *** CD-ROM | disk | FTP | other *** search
/ Best of German Only 1 / romside_best_of_german_only_1.iso / doshelp / freeware / freeware.exe / TOOLS / WHEREIS.DOC < prev    next >
Text File  |  1993-03-01  |  1KB  |  40 lines

  1.  
  2. WhereIs, (C)opyright 27.10.91-93 by Ralph Roth, Finkenweg 24, D 7214 Zimmern
  3. ----------------------------------------------------------------------------
  4.  
  5.  
  6.  
  7. WhereIs is distributed as Freeware (Bannerware)
  8.  
  9. Usage:     WHEREIS    file1.ext [file2.ext] [file...] [>NUL]
  10. ------
  11.            WHEREIS    file.* (searches for file.com, file.exe, file.bat
  12.                       file.txt, file.sys and file.doc!)
  13.  
  14. Synopsis:
  15.  
  16.    WhereIs locates for specified files and prints the path where
  17.    the files can be found. WhereIs attempts to locate the desired
  18.    files in a list of standard places (declared by the environment
  19.    variable PATH). WARNING: Requires DOS Version 3.0 or higher!
  20.  
  21.    The DOS Exitstatus (ERRORLEVEL) is modified by WHEREIS.EXE:
  22.  
  23.       ■  0    Last file exists.
  24.       ■  1    Last file DOESN'T exists.
  25.       ■  2    No parameters spezified!
  26.  
  27.  
  28.    EXAMPLE:
  29.    --------
  30.  
  31.             @echo off
  32.             whereis %1 >NUL
  33.             if errorlevel=1 goto error
  34.             echo %1 exists!
  35.             goto end
  36.             :error
  37.             echo %1 DOESN'T exists!
  38.             :end
  39.  
  40.