home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 13 / 13.iso / p / p035 / p2000_2.ddi / PADS / PADS.2 / 2000IN.BAT < prev    next >
Encoding:
DOS Batch File  |  1992-03-02  |  1.8 KB  |  67 lines

  1. @echo off
  2.  
  3. front2 /X
  4.  
  5. if %1 ! == ! goto useage
  6.  
  7. if exist \pads2000.swp goto BADSWAP
  8. if exist \sr2000.swp goto BADSRSWAP
  9.  
  10. :pcb
  11. if exist therm.1 ren therm.1 therm.0 
  12. if not exist p2000.exe goto bad
  13. rem qemm off
  14. cls
  15. echo (f1) > files\jobin.mac
  16. echo (f1) >> files\jobin.mac
  17. echo %1(cr) >> files\jobin.mac
  18. echo Loading PADS-2000 with job file %1
  19. p2000 /s /r:jobin.mac
  20. del files\jobin.mac > nul:
  21. rem qemm off
  22. goto end
  23.  
  24. :bad
  25. echo Program not found!
  26. pause
  27. goto end
  28.  
  29. :useage
  30. cls
  31. echo 
  32. echo This program is used to start PADS-2000 and automaticallly
  33. echo job in a specified filename.
  34. echo 
  35. echo To use this command type the following:
  36. echo 
  37. echo 2000in [filename]
  38. echo 
  39. echo Where [filename] = Any job file that reside in the files directory.
  40. echo                    The filename can be entered as:
  41. echo                    myjob   or   myjob.job
  42. goto end
  43.  
  44. :badswap
  45. del \pads2000.swp
  46. echo *
  47. echo *****************************************************************************
  48. echo A previous crash of a 386 application has probably left some lost clusters on
  49. echo your hard drive. It is therefore suggested you run chkdsk /f or an equivalent
  50. echo utility which is compatible with your disk manager.
  51. echo *****************************************************************************
  52. echo *
  53. goto end
  54.  
  55. :badsrswap
  56. del \sr2000.swp
  57. echo *
  58. echo *****************************************************************************
  59. echo A previous crash of a 386 application has probably left some lost clusters on
  60. echo your hard drive. It is therefore suggested you run chkdsk /f or an equivalent
  61. echo utility which is compatible with your disk manager.
  62. echo *****************************************************************************
  63. echo *
  64. goto end
  65.  
  66. :end
  67.