home *** CD-ROM | disk | FTP | other *** search
- echo off
-
- if exist \pads2000.swp goto BADSWAP
- if exist \sr2000.swp goto BADSWAP
-
- front2 /X
-
- if exist therm.1 ren therm.1 therm.0
-
- :top1
-
- if exist therm.1 goto THERM
-
- front2
- goto SKIP
-
- :THERM
- front2 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 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.
-
- rem cemm off
-
- call sroute.bat
-
- 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.
-
- rem cemm 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 p2000.exe goto bad
- cemm off
- cls
- call pads2000.bat /m
- cemm on
- 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
-
- :badswap
- if exist \pads2000.swp del \pads2000.swp
- if exist \sr2000.swp del \sr2000.swp
- echo *
- echo *****************************************************************************
- echo A previous crash of a 386 application has probably left some lost clusters on
- echo your hard drive. It is therefore suggested you run chkdsk /f or an equivalent
- echo utility which is compatible with your disk manager.
- echo *****************************************************************************
- echo *
- goto end
-
- :end
-