home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS - Coast to Coast / simteldosarchivecoasttocoast.iso / pcmag / vol10n20.zip / RECALL.ZIP / R.BAT < prev    next >
DOS Batch File  |  1991-05-07  |  513b  |  15 lines

  1. ECHO OFF
  2. REM                              R.BAT
  3. REM If you do not use a replaceable parameter, then 
  4. REM all the commands in the command buffer file will 
  5. REM be displayed.  Notice that there will be a number 
  6. REM displayed next to each command.  To invoke the 
  7. REM command number 10, just type "R 10" from DOS.
  8. REM
  9. IF "%1" == "" FIND /N /V "^^^" d:\util\buffer
  10. IF "%1" == "" GOTO end
  11. COPY d:\util\buffer d:\util\tmp.bat > NUL
  12. ECHO %1,%1,1C;2,1000D;E | EDLIN d:\util\tmp.bat > NUL
  13. d:\util\tmp
  14. :end
  15.