home *** CD-ROM | disk | FTP | other *** search
- @echo off
- rem ┌───────────────────────────┐
- rem │ PCBOARD UPLOAD PROCESSING │
- rem └───────────────────────────┘
- rem %1 = filename
- rem %2 = processing mode (UPLOAD/ATTACH/TEST)
- rem %3 = output text file (file DIR)
- rem %PCBDIR% = PCB node directory. If using multi-nodes you
- rem should set the %PCBDIR% variable in the BOARD.BAT file.
- rem (Ex: SET PCBDIR=D:\PCB\NODE1\) Otherwise replace this
- rem on the BOOMLAB command line with the PCB directory.
-
- rem *** DELETE OLD TEMPORARY FILES **************************************
-
- if exist %pcbdir%\pcbpass.txt DEL %pcbdir%\pcbpass.txt >nul
- if exist %pcbdir%\pcbfail.txt DEL %pcbdir%\pcbfail.txt >nul
- if "%1"=="" goto ENDTEST
- if "%2"=="" goto ENDTEST
- if "%3"=="" goto ENDTEST
- if not exist %1 goto ENDTEST
-
- :BOOMLAB
- d:\pfed\boomlab d:\pfed\ %2 %1 %3 %PCBDIR%
-
- :ENDTEST
- ECHO ■ Returning to PCBoard
- cd %pcbdir%