home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 September / Simtel20_Sept92.cdr / msdos / arc_lbr / scrnch.arc / TESTW.BAT < prev   
DOS Batch File  |  1987-11-30  |  605b  |  28 lines

  1. echo off
  2. if %1x == x goto syntax
  3. if exist contents.doc goto cont1
  4. echo this file was created by testw.bat >contents.doc
  5. dir /w >>contents.doc
  6. :cont1
  7. copy scrxw.stb + %1.txt %1.bin
  8. scrnch /o /e:%1.bin contents.doc testexit.com
  9. testexit
  10. goto finish
  11. :syntax
  12. echo  
  13. echo Syntax
  14. echo    TESTW exitname
  15. echo  
  16. echo This .BAT file allows you to test a Write Mode exit.
  17. echo The exit will be created by appending it to SCRXW.STB.
  18. echo The result will be named exitname.bin.  SCRNCH is used
  19. echo to add the exit to a program, then the program is called.
  20. echo  
  21. goto finish
  22.  
  23.  
  24.  
  25.  
  26.  
  27. :finish
  28.