home *** CD-ROM | disk | FTP | other *** search
- echo off
-
- if exist \pads\therm.1 ren therm.1 therm.0
-
- :top1
-
- if exist therm.1 goto THERM
-
- front
- goto SKIP
-
- :THERM
- front THERM
-
- :SKIP
-
- if errorlevel 13 goto thermal2
- if errorlevel 12 goto thermal1
- if errorlevel 11 goto end
- if errorlevel 10 goto pwrite
- if errorlevel 9 goto pread
- if errorlevel 8 goto push
- if errorlevel 6 goto pedit
- if errorlevel 5 goto plib
- if errorlevel 4 goto cedit
- if errorlevel 3 goto superroute
- if errorlevel 2 goto pcb
- if errorlevel 1 goto logic
- goto end
-
- :push
- if not exist \pads\pshnshv.bat goto bad
- cemm off
- call pshnshv.bat
- cemm on
- goto top1
-
- :plib
- if exist therm.1 ren therm.1 therm.0
- if not exist \pads\plib.exe goto bad
- plib
- goto top1
-
- :pedit
- if exist therm.1 ren therm.1 therm.0
- if not exist \pads\pedit.exe goto bad
- pedit /P /B pedit.tmp
- goto top1
-
- :cedit
- if exist therm.1 ren therm.1 therm.0
- if not exist \pads\pedit.exe goto bad
- pedit /C /B pedit.tmp
- goto top1
-
-
- :superroute
- if exist therm.1 ren therm.1 therm.0
- if not exist \pads\sroute.exe goto bad
- cd \pads
- cls
- rem The following line must be deleted if you use a 286 computer. If you
- rem have a 386 computer you must replace the following line with the
- rem command to turn off expanded memory.
-
- cemm off
-
- sroute
-
- rem The following line must be deleted if you use a 286 computer. If you
- rem have a 386 computer you must replace the following line with the
- rem command to turn back on expanded memory.
-
- cemm on
- goto top1
-
- :pread
- cls
- if exist therm.1 ren therm.1 therm.0
- if not exist \pads\pread.exe goto bad
- cd \pads\files
- pread
- goto top1
-
- :pwrite
- cls
- if exist therm.1 ren therm.1 therm.0
- if not exist \pads\pwrite.exe goto bad
- cd \pads
- pwrite
- goto top1
-
- :pcb
- if exist therm.1 ren therm.1 therm.0
- if not exist \pads\pcb.exe goto bad
- pcb /m
- goto top1
-
- :thermal1
- if exist therm.0 ren therm.0 therm.1
- cd \pads\thermal
- itf
- cd \pads
- goto top1
-
-
- :thermal2
- if exist therm.0 ren therm.0 therm.1
- cd \pads\thermal
- call thermal
- cd \pads
- goto top1
-
-
-
- :logic
- if exist therm.1 ren therm.1 therm.0
- if not exist \pads\cae.exe goto bad
- if exist \pads\logfil\startup.mac del \pads\logfil\startup.mac >nul
- if exist \pads\logfil\$$$tmp.sch del \pads\logfil\$$$tmp.sch >nul
- :top
- if not exist \pads\logfil\startup.mac goto userparms
- cae /s /r:\pads\logfil\startup.mac
- del \pads\logfil\startup.mac >nul
- goto errcheck
- :userparms
- cae /m
- :errcheck
- if errorlevel 2 goto netlist
- if errorlevel 1 goto eco
- if errorlevel 0 goto end0
-
- :eco
- cls
- ecogen @\pads\logfil\info.tmp
- Pause
- DEL \pads\logfil\tmp0.asc
- DEL \pads\logfil\tmp1.asc
- DEL \pads\logfil\info.tmp
- copy \pads\eco.mac \pads\logfil\startup.mac >nul
- goto top
-
- :netlist
- cls
- xlate \pads\logfil\info.tmp
- Pause
- DEL \pads\logfil\info.tmp
- DEL \pads\logfil\repout.net
- copy \pads\netlst.mac \pads\logfil\startup.mac >nul
- goto top
-
- :end0
- goto top1
-
-
- :bad
- echo program not found!
- pause
- goto top1
-
- :end
- cd \pads