home *** CD-ROM | disk | FTP | other *** search
/ Groovy Bytes: Behind the Moon / groovybytes.iso / GROOVY / SND_TOOL / WM10.ZIP / DOC.DAT / wmrm.txt < prev    next >
Encoding:
Text File  |  1995-08-30  |  898 b   |  23 lines

  1.  WMRM
  2.  ────
  3.  
  4.  WAVmaker file ReMove.
  5.  
  6.  Like WMCP, WMRM would be a BAT file if only DOS offered a half-decent script 
  7.  language! It works as follows:
  8.  
  9.  (1) If called without parameters, it terminates immediately.
  10.  
  11.  (2) If called with one parameter, or if the first parameter terminates with a 
  12.      filename extension (a period followed by up to three characters), it 
  13.      executes a DOS DEL command with the first parameter for the filename. The 
  14.      command processor is located using the COMSPEC environment variable (DEL 
  15.      being an internal DOS command).
  16.  
  17.  (3) Otherwise, it concatenates the first parameter to the second one, with
  18.      a period (.) sandwiched between them, and uses the result for the
  19.      filename. The rest goes as in (2).
  20.  
  21.  Mode (3) allows a default file extension to be specified; mode (2) allows 
  22.  this default extension to be overridden.
  23.