home *** CD-ROM | disk | FTP | other *** search
/ Carsten's PPE Collection / Carstens_PPE_Collection_2007.zip / T / THTCK12B.ZIP / PCBTEST.BAT < prev    next >
DOS Batch File  |  1994-06-11  |  3KB  |  65 lines

  1. @ECHO OFF
  2. loadbtm on
  3. if not exist WORK\PCBFAIL.TXT copy diz.%PCBNODE% PCBPASS.TXT
  4. IF EXIST WORK\PCBFAIL.TXT COPY WORK\PCBFAIL.TXT
  5. IF %2 == UPLOAD GOTO END
  6.  
  7. REM ******  OLD PCBTEST.BAT IS BELOW THIS LINE!!!!!!!!!!!!
  8.  
  9. proecho %PCBPORT% ~
  10. proecho %PCBPORT% ~                   ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  11. proecho %PCBPORT% ~                   █ ≡  BOOMLAB v0.13  ≡ █
  12. proecho %PCBPORT% ~                   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  13. proecho %PCBPORT% ~
  14.  
  15. if %@ext[%1]==zip STRIPAV %1
  16. if %@ext[%1]==zip PKUNZIP -t %1 
  17. IF NOT ERRORLEVEL == 0 MOVE %1 L:\BAD.DIR /Q
  18. IF NOT ERRORLEVEL == 0 echo Failed>pcbfail.txt 
  19. IF NOT ERRORLEVEL == 0 GOTO END
  20. 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
  21.  
  22. IF EXIST %1 f:\pcb1\pfed1\boomlab.exe f:\pcb1\pfed1\ PCB %1 %3 %PCBDIR%
  23. IF EXIST O:\ANTI%PCBNODE% C:\UTIL\PKZIP {d %1 O:\ANTI%PCBNODE% >NUL
  24. IF EXIST O:\ANTI%PCBNODE% delete O:\ANTI%PCBNODE% /q
  25. proecho %PCBPORT% ~
  26. proecho %PCBPORT% ~                  ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  27. proecho %PCBPORT% ~                  █ ≡    ZDCS v2.03   ≡ █
  28. proecho %PCBPORT% ~                  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  29. proecho %PCBPORT% ~
  30. IF EXIST %1 E:\ZDCS1\ZDCSFC %1 %2
  31. IF ERRORLEVEL == 2 type zdcsfc.out>Pcbfail.txt
  32. IF ERRORLEVEL == 2 move %1 l:\dupe /q
  33. IF ERRORLEVEL == 3 type zdcsfc.out>Pcbfail.txt
  34. IF ERRORLEVEL == 3 move %1 l:\DUPE /q
  35.  
  36. :ADD
  37. if not exist %1 goto end
  38. if %@ext[%1]==zip goto zp2
  39. if %@ext[%1]==lzh goto END
  40. if %@ext[%1]==arj goto END
  41.  
  42. :zp2
  43. REM  ***  This is where I create a file to insert in a ZIp Archive *********
  44. REM  ***  With the File Name Changed to the Time & Date  *******************
  45. REM  ***  This along with the Echoing of the Current Date and Time *********
  46. REM  ***  Of the Upload will keep other Boards From Removing ***************
  47. REM  ***  These ads with a 32 bit CRC checker or by FileName ***************
  48. copy F:\PCB1\LEGAL.ALL O:\ /q
  49. echo           This File was Uploaded to <<THT>> at %_time on %_date>>O:\LEGAL.ALL
  50. fd F:\PCB1\LEGAL.ALL /d:01-01-80 /t:00:00:00 >NUL
  51. del K:\- \*.NFO /q
  52. move O:\LEGAL.ALL K:\- \%@date[%_date]%@time[%_time].NFO /q
  53.  
  54. REM  ***  Now that the file has been created We use PKZIP with *************
  55. REM  ***  A changed command line to add these file's to the Archive ********
  56. REM  ***  Use the PKZIP.CFG to change the "-" to another Character *********
  57. REM  ***  This will allow you to ad files with the first Character *********
  58. REM  ***  of "-" or even a Subdirectory  ***********************************
  59.  
  60. if exist %1 C:\UTIL\PKZIP {A {P {r %1 K:\- \*.* >NUL
  61. GOTO END
  62. :END
  63. REM if exist %1 recom -s f:\pcb1\pfed1\zip.cmm %1 
  64.  
  65.