home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / UTILITY / SYSTEM / DSKUTL11.ZIP / RM.MAN < prev   
Encoding:
Text File  |  1991-06-29  |  2.0 KB  |  67 lines

  1.      rm (local)               Disk Utilities v1.1                rm (local)
  2.  
  3. NNAAMMEE 
  4.           rm  - This program removes files, and allows for the removal
  5.      of complete directory structures.  
  6.  
  7.  
  8. SSYYNNOOPPSSIISS 
  9.           rm <-ifpsr> [pattern ...] file [file ...] 
  10.  
  11.  
  12. EENNVVIIRROONNMMEENNTTSS 
  13.  
  14.           Options  for  this  program  will  also  be  looked  for  in
  15.      command.com's environment.    This  is  done with the set command
  16.      (e.g. set rm=f causes rm to always use the option f).  
  17.  
  18.  
  19. OOPPTTIIOONNSS 
  20.  
  21.      i - Ask user if should remove protected files (default).  
  22.  
  23.      f - Automatically remove protected files.  The program  does  not
  24.      prompt the user it simply delete every file.  
  25.  
  26.      p  -  pattern,  copy  only  files matching the specified pattern.
  27.      Multiple patterns can be specified with multiple p options   (for
  28.      example "rm -ppp *.c *.h *.bat c:\" would remove all *.c *.h  and 
  29.      *.bat files on the c drive).  
  30.  
  31.      s -  skip  any  files  matching specified pattern.  Multiple skip
  32.      options can be included also, such as "-sss *.obj *.exe *.map" 
  33.  
  34.      r - Recursive remove (remove all  subdirectories  and  subfiles).
  35.      The most  powerfull  and  dangerous  aspect  of this program.  It
  36.      allows complete directory structures to be  deleted  very  easily
  37.      (but  also  allows  complete  hard  disks  to  be erased with one
  38.      command).  
  39.  
  40.  
  41. EEXXAAMMPPLLEESS 
  42.  
  43.           rm *.com *.exe *.obj 
  44.      Delete every file ending in ".com" ".exe", and ".obj".  
  45.  
  46.           rm -rf d:\tmp c:\turboc 
  47.      If tmp and turboc are files, the two files will  be  deleted,  if
  48.      not then both directory structures will be removed.  
  49.  
  50.           rm -rfppps *.exe *.com *.obj cp.exe c:\bin 
  51.      Remove all .exe .com and .obj (except cp.exe) on c:\bin.  
  52.  
  53.           rm -rf c:\*.* 
  54.      Delete every file on the c drive.  
  55.  
  56.  
  57. BBUUGGSS 
  58.  
  59.           None that I know of!  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.                                       -1-
  66. !
  67.