home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 September / Simtel20_Sept92.cdr / msdos / telix / tmake_2.arc / TMAKE.BAT < prev    next >
DOS Batch File  |  1988-08-28  |  628b  |  25 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. c:\telix\cs %1
  9. echo .
  10. if not exist c:\telix\%1.slc goto s1
  11. c:\system\xt tcomp1 c:\system\sysmsgs
  12. c:\bobstuf\ask "1 to do it, 2 not to " 12
  13. :s1
  14. if errorlevel 2 goto savesrc
  15. if not exist %1.slc goto savesrc
  16. copy %1.slc c:\telix\%1.slc
  17. :savesrc
  18. if not exist d:\source\telix\%1.slt goto s2
  19. c:\system\xt tcomp2 c:\system\sysmsgs
  20. c:\bobstuf\ask "1 to do it, 2 not to " 12
  21. if errorlevel 2 goto done
  22. :s2
  23. copy %1.slt d:\source\telix\%1.slt
  24. :done
  25.