home *** CD-ROM | disk | FTP | other *** search
- WMRM
- ────
-
- WAVmaker file ReMove.
-
- Like WMCP, WMRM would be a BAT file if only DOS offered a half-decent script
- language! It works as follows:
-
- (1) If called without parameters, it terminates immediately.
-
- (2) If called with one parameter, or if the first parameter terminates with a
- filename extension (a period followed by up to three characters), it
- executes a DOS DEL command with the first parameter for the filename. The
- command processor is located using the COMSPEC environment variable (DEL
- being an internal DOS command).
-
- (3) Otherwise, it concatenates the first parameter to the second one, with
- a period (.) sandwiched between them, and uses the result for the
- filename. The rest goes as in (2).
-
- Mode (3) allows a default file extension to be specified; mode (2) allows
- this default extension to be overridden.
-