home *** CD-ROM | disk | FTP | other *** search
- @echo off
- if exist pcbpass.txt del pcbpass.txt
- if exist pcbfail.txt del pcbfail.txt
- cls
- echo ┌───────────────────┐
- echo │ Processing Upload │
- echo └───────────────────┘
-
- rem This are 4Dos commands - Command.com users should use GETEXT.EXE
- rem Included in the ZZ Package
- if %@ext[%1]==gif goto diz
- if %@ext[%1]==zip goto zip
- if %@ext[%1]==arj goto arj
- if %@ext[%1]==lzh goto lzh
- if %@ext[%1]==txt goto diz
- rem End of 4Dos commands
- goto plus
-
- :zip
- echo ■ Testing ZIP file integrity
- pkunzip -t %1 > pcbfail.txt
- if errorlevel == 1 goto failed
- goto diz
-
- :arj
- echo ■ Testing ARJ file integrity
- arj t %1 > pcbfail.txt
- if errorlevel == 1 goto failed
- goto diz
-
- :lzh
- echo ■ Testing ARJ file integrity
- lha t %1 > pcbfail.txt
- if errorlevel == 1 goto failed
- goto diz
-
-
-
- :diz
- echo ■ Executing ZipZap!
- lh d:\zipzap\zipzap.exe d:\zipzap\zipzap.cnf %1 %3
- del d:\comment.### > nul
- if errorlevel==200 goto agefail
-
- del pcbfail.txt > nul
- goto end
-
- :failed
- echo ■ CRC ERROR
- echo ■ Moving File offline !
- move %1 d:\pcb\confs\ > nul
- goto end
-
-
- :agefail
- echo ■ FILE FAILED AGE TEST!
- echo ■ Moving File offline !
- move %1 d:\pcb\confs\ > nul
- goto end
-
- :plus
-
- echo ■ Executing UBPLUS!
- d:\pcb\ubplus d:\pcb\ubplus.cnf %3
-
-
- :end
- echo ■ Executing fakerlog.exe for NukeDuke (Coming Soon)
- @d:\pcb\doors\faker\fakerlog d:\pcb\doors\faker\faker.log %1
- echo ■ Done!
-