home *** CD-ROM | disk | FTP | other *** search
- @echo off
-
- front /X
-
- if exist therm.1 ren therm.1 therm.0
-
- :top1
-
- if exist therm.1 goto THERM
-
- front
- goto SKIP
-
- :THERM
- front THERM
-
- :SKIP
-
- if errorlevel 12 goto thermal2
- if errorlevel 11 goto thermal1
- if errorlevel 10 goto end
- if errorlevel 9 goto pwrite
- if errorlevel 8 goto pread
- 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
-
- :plib
- if exist therm.1 ren therm.1 therm.0
- if not exist plib.exe goto bad
- plib
- goto top1
-
- :pedit
- if exist therm.1 ren therm.1 therm.0
- if not exist pedit.exe goto bad
- pedit /P /B pedit.tmp
- goto top1
-
- :cedit
- if exist therm.1 ren therm.1 therm.0
- if not exist pedit.exe goto bad
- pedit /C /B pedit.tmp
- goto top1
-
-
- :superroute
- if exist therm.1 ren therm.1 therm.0
- if not exist sroute.bat goto bad
- cls
-
- rem The following command " qemm off " is used to turn off your expanded
- rem memory manager on a 80386 computer. If you are using a 80286 computer,
- rem you should delete this command.
-
- qemm off
-
- call sroute
-
- rem The following command " qemm on " is used to turn on your expanded
- rem memory manager on a 80386 computer. If you are using a 80286 computer,
- rem you should delete this command.
-
- qemm on
- goto top1
-
- :pread
- cls
- if exist therm.1 ren therm.1 therm.0
- if not exist pread.exe goto bad
- pread
- goto top1
-
- :pwrite
- cls
- if exist therm.1 ren therm.1 therm.0
- if not exist pwrite.exe goto bad
- pwrite
- goto top1
-
- :pcb
- if exist therm.1 ren therm.1 therm.0
- if not exist pcb.exe goto bad
- pcb /m
- goto top1
-
- :thermal1
- if exist therm.0 ren therm.0 therm.1
- if not exist itf.exe goto bad
- cd thermal
- itf
- goto top1
-
-
- :thermal2
- if exist therm.0 ren therm.0 therm.1
- if not exist thermal.exe goto bad
- cd thermal
- call thermal
- goto top1
-
- :logic
- if exist therm.1 ren therm.1 therm.0
- if exist logic32.exe goto log2k
- if not exist logic16.exe goto bad
- front /L
- if exist logfil\startup.mac del logfil\startup.mac >nul
- if exist logfil\$$$tmp.sch del logfil\$$$tmp.sch >nul
- :top16
- if not exist logfil\startup.mac goto userp16
- logic16 /s /r:logfil\startup.mac
- if exist logfil\startup.mac del logfil\startup.mac >nul
- goto errchk16
- :userp16
- logic16 /m
- :errchk16
- if errorlevel 2 goto netlist16
- if errorlevel 1 goto eco16
- goto end0
-
- :log2k
- front2 /L
- if exist logfil\startup.mac del logfil\startup.mac >nul
- if exist logfil\$$$tmp.sch del logfil\$$$tmp.sch >nul
- :top32
- if not exist logfil\startup.mac goto userp32
- logic32 /s /r:logfil\startup.mac
- if exist logfil\startup.mac del logfil\startup.mac >nul
- goto errchk32
- :userp32
- logic32 /m
- :errchk32
- if errorlevel 2 goto netlist32
- if errorlevel 1 goto eco32
- goto end0
-
-
- :eco16
- cls
- ecogen @logfil\info.tmp
- Pause
- if exist logfil\tmp0.asc del logfil\tmp0.asc >nul
- if exist logfil\tmp1.asc del logfil\tmp1.asc >nul
- if exist logfil\info.tmp del logfil\info.tmp >nul
- copy eco.mac logfil\startup.mac >nul
- goto top16
-
- :eco32
- cls
- ecogen @logfil\info.tmp
- Pause
- if exist logfil\tmp0.asc del logfil\tmp0.asc >nul
- if exist logfil\tmp1.asc del logfil\tmp1.asc >nul
- if exist logfil\info.tmp del logfil\info.tmp >nul
- copy eco.mac logfil\startup.mac >nul
- goto top32
-
- :netlist16
- cls
- xlate logfil\info.tmp
- Pause
- if exist logfil\info.tmp del logfil\info.tmp
- if exist logfil\repout.net del logfil\repout.net
- copy netlst.mac logfil\startup.mac >nul
- goto top16
-
- :netlist32
- cls
- xlate logfil\info.tmp
- Pause
- if exist logfil\info.tmp del logfil\info.tmp
- if exist logfil\repout.net del logfil\repout.net
- copy netlst.mac logfil\startup.mac >nul
- goto top32
-
- :end0
- goto top1
-
-
- :bad
- echo Program not found!
- pause
- goto top1
-
- :end
-