@ECHO OFF
 REM
 REM   Following is the batch file I use to process uploads to 7th Illusion.
 REM   This configuration may only work if you have one private upload
 REM   directory for all conferences and main board.
 REM

 SET PCBPRIV=E:\MAIN\PRIVATES
 IF EXIST PCBFAIL.TXT DEL PCBFAIL.TXT

 REM Date stamp uploads using Norton Utilities v5.0's File Find
 REM FF %1 /NOW /BATCH

 D:\TOOLS\PKINSERT\PKINSERT /D:\TOOLS\PKINSERT\NODE1.CFG %1

:BAD
 IF NOT EXIST %PCBPRIV%\*.BAD GOTO VIRUS
 PKUNZIP -T %PCBPRIV%\*.BAD >> PCBFAIL.TXT
 DEL %PCBPRIV%\*.BAD
 GOTO END

:VIRUS
 IF NOT EXIST %PCBPRIV%\*.VIR GOTO END
 ECHO. >> PCBFAIL.TXT
 ECHO PKinsert has detected a VIRUS within your upload ... >> PCBFAIL.TXT
 ECHO Don't be alarmed.  Information and utilities for viral combat are available >> PCBFAIL.TXT
 ECHO from the main board directories.  Please inspect your system before uploading >> PCBFAIL.TXT
 ECHO again. >> PCBFAIL.TXT
 DEL %PCBPRIV%\*.VIR
 GOTO END

:END
 SET PCBPRIV=
