home *** CD-ROM | disk | FTP | other *** search
/ Carsten's PPE Collection / Carstens_PPE_Collection_2007.zip / T / THTUE100.ZIP / INSTALL.BAT < prev    next >
DOS Batch File  |  1994-10-29  |  1KB  |  55 lines

  1. @echo off
  2.  
  3. if not exist %1 goto badcommand
  4. if not exist %3 goto badcommand
  5. if not exist %4 goto badcommand
  6.  
  7. if not %1 == 1 goto install
  8. if not %1 == 2 goto install
  9. if not %1 == 3 goto install
  10. if not %1 == 4 goto install
  11. goto badcommand
  12.  
  13. :install
  14. MD %2
  15. COPY *.* %2 >nul
  16.  
  17. %3\mkpcbtxt %1 /i:197 "!%2\EOM.PPE _">nul
  18. %3\mkpcbtxt %1 /i:612 "!%2\EOM.PPE _">nul
  19. echo !%2\OPCAP.PPE >>%4\PREMSG
  20.  
  21. echo  
  22. echo               THTUEDIT v1.0ß has been installed.
  23. echo              -------- To Finish The Job: --------
  24. echo Edit THTUEDIT.CNF
  25. echo Edit EOM.CNF
  26. echo   
  27. echo  You can also install THTUEDIT.PPE in your CMD.LST file!!!
  28. goto end
  29.  
  30. :badcommand
  31. echo   
  32. echo   
  33. echo Installation of // THT // UEDIT v1.0 is as follows:
  34. echo --------------------------------------------------------
  35. echo Usage:   INSTALL PcbText PplDir PcbDir CmndDisplayDir
  36. echo  
  37. echo           ( no trailing enters needed )
  38. echo  
  39. echo  "PcbText" is the PCBTEXT file to update.
  40. echo  
  41. echo  "PPLDIR" is where you want to store the PPS/PPE file(s).
  42. echo  
  43. echo  "CmndDisplyDir" is the dir where your command display files is.
  44. echo  Go into pcbsetup under File Locations, then System Files & Directories.
  45. echo  Go into the last option: Name/Loc of Command Display Files: 
  46. echo  this option is not needed if you've already installed it once.
  47. echo  
  48. echo Example usage:
  49. echo     
  50. echo     INSTALL C:\PCB\GEN\PCBTEXT C:\PCB\PPE C:\PCB C:\PCB\DISPLAY
  51. echo     
  52.  
  53. :end
  54.  
  55.