home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 September / Simtel20_Sept92.cdr / msdos / telix / tmake3.arc / TMAKE.BAT
DOS Batch File  |  1988-12-13  |  652b  |  27 lines

  1. echo off
  2. c:\system\curse > nul
  3. clr
  4. if exist %1.slt goto work
  5. echo usage:  tmake [pathname]file (.slt must be the extent)
  6. goto done
  7. :work
  8. d:\telix\cs %1
  9. echo .
  10. if not exist %1.slc goto savesrc
  11. if not exist d:\telix\%1.slc goto s1
  12. c:\system\xt tcomp1 c:\system\sysmsgs
  13. c:\bobstuf\ask "1 to do it, 2 not to " 12
  14. :s1
  15. if errorlevel 2 goto savesrc
  16. copy %1.slc d:\telix\%1.slc
  17. del %1.slc
  18. :savesrc
  19. if not exist d:\source\telix\%1.slt goto s2
  20. c:\system\xt tcomp2 c:\system\sysmsgs
  21. c:\bobstuf\ask "1 to do it, 2 not to " 12
  22. if errorlevel 2 goto done
  23. :s2
  24. copy %1.slt d:\source\telix\%1.slt
  25. del %1.slt
  26. :done
  27.