home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Carsten's PPE Collection
/
Carstens_PPE_Collection_2007.zip
/
T
/
THTCK12B.ZIP
/
PCBTEST.BAT
< prev
next >
Wrap
DOS Batch File
|
1994-06-11
|
3KB
|
65 lines
@ECHO OFF
loadbtm on
if not exist WORK\PCBFAIL.TXT copy diz.%PCBNODE% PCBPASS.TXT
IF EXIST WORK\PCBFAIL.TXT COPY WORK\PCBFAIL.TXT
IF %2 == UPLOAD GOTO END
REM ****** OLD PCBTEST.BAT IS BELOW THIS LINE!!!!!!!!!!!!
proecho %PCBPORT% ~
proecho %PCBPORT% ~ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
proecho %PCBPORT% ~ █ ≡ BOOMLAB v0.13 ≡ █
proecho %PCBPORT% ~ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
proecho %PCBPORT% ~
if %@ext[%1]==zip STRIPAV %1
if %@ext[%1]==zip PKUNZIP -t %1
IF NOT ERRORLEVEL == 0 MOVE %1 L:\BAD.DIR /Q
IF NOT ERRORLEVEL == 0 echo Failed>pcbfail.txt
IF NOT ERRORLEVEL == 0 GOTO END
if %@ext[%1]==zip .AND. EXIST %1 c:\util\pkzip {d %1 - \*.* ?abyss?.* kort.''' kort½.nfo ░▒▓terad.▓▒░ m ¥ s τ¿.ÇÅ£ *.* D *.* @H:\99\ANTI\AD.LST >NUL
IF EXIST %1 f:\pcb1\pfed1\boomlab.exe f:\pcb1\pfed1\ PCB %1 %3 %PCBDIR%
IF EXIST O:\ANTI%PCBNODE% C:\UTIL\PKZIP {d %1 O:\ANTI%PCBNODE% >NUL
IF EXIST O:\ANTI%PCBNODE% delete O:\ANTI%PCBNODE% /q
proecho %PCBPORT% ~
proecho %PCBPORT% ~ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
proecho %PCBPORT% ~ █ ≡ ZDCS v2.03 ≡ █
proecho %PCBPORT% ~ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
proecho %PCBPORT% ~
IF EXIST %1 E:\ZDCS1\ZDCSFC %1 %2
IF ERRORLEVEL == 2 type zdcsfc.out>Pcbfail.txt
IF ERRORLEVEL == 2 move %1 l:\dupe /q
IF ERRORLEVEL == 3 type zdcsfc.out>Pcbfail.txt
IF ERRORLEVEL == 3 move %1 l:\DUPE /q
:ADD
if not exist %1 goto end
if %@ext[%1]==zip goto zp2
if %@ext[%1]==lzh goto END
if %@ext[%1]==arj goto END
:zp2
REM *** This is where I create a file to insert in a ZIp Archive *********
REM *** With the File Name Changed to the Time & Date *******************
REM *** This along with the Echoing of the Current Date and Time *********
REM *** Of the Upload will keep other Boards From Removing ***************
REM *** These ads with a 32 bit CRC checker or by FileName ***************
copy F:\PCB1\LEGAL.ALL O:\ /q
echo This File was Uploaded to <<THT>> at %_time on %_date>>O:\LEGAL.ALL
fd F:\PCB1\LEGAL.ALL /d:01-01-80 /t:00:00:00 >NUL
del K:\- \*.NFO /q
move O:\LEGAL.ALL K:\- \%@date[%_date]%@time[%_time].NFO /q
REM *** Now that the file has been created We use PKZIP with *************
REM *** A changed command line to add these file's to the Archive ********
REM *** Use the PKZIP.CFG to change the "-" to another Character *********
REM *** This will allow you to ad files with the first Character *********
REM *** of "-" or even a Subdirectory ***********************************
if exist %1 C:\UTIL\PKZIP {A {P {r %1 K:\- \*.* >NUL
GOTO END
:END
REM if exist %1 recom -s f:\pcb1\pfed1\zip.cmm %1