home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS - Coast to Coast / simteldosarchivecoasttocoast.iso / pcmag / vol10n20.zip / RECALL.ZIP / D.BAT next >
DOS Batch File  |  1991-10-28  |  480b  |  17 lines

  1. ECHO OFF
  2. REM                            D.BAT
  3. REM If you want to delete a particular command, 
  4. REM enter the command number as a replaceable 
  5. REM parameter.  If you do not have a replacable 
  6. REM parameter, then if you have over 20 commands 
  7. REM in the command buffer, only the 20 most-recent
  8. REM ones will be kept.
  9. REM
  10. IF "%1" == "" GOTO purge
  11. ECHO %1,%1D;E | EDLIN d:\util\buffer > NUL
  12. GOTO end
  13. :purge
  14. ECHO 21,1000D;E | EDLIN d:\util\buffer > NUL
  15. :end
  16. d:\util\r
  17.