home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
UPCHECK
/
WCUPDC11.ZIP
/
SCANFILE.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-11-04
|
1KB
|
34 lines
REM Other checker etc. above this line.
REM MUST be in the node home directory, DOOR.SYS located here on
REM shell to external program
CD \WC30\WCWORK\NODE%WCNODEID%
REM Check to see if file is already flagged as bad, if so skip
IF EXIST SCANFILE.BAD GOTO SKIPWCUP
REM Display WCUPDC.TXT to the caller.
OUTCOMM.EXE C:\WC30\DISP\WCUPDC.TXT
REM Now let's check the exec file dates in the upload!
WCUPDC %1 C:\WC30\WCUPDC.CFG
REM Check for log, display to caller if found. If it does not exist
REM then either bad .ZIP or upload was NOT a .ZIP file.
IF EXIST WCUPDC.LOG GOTO DISPLOG
GOTO SKIPWCUP
REM Display the WCUPDC.LOG file so the user can see results
:DISPLOG
OUTCOMM.EXE WCUPDC.LOG
REM Now Copy+ the WCUPDC.LOG to a permanent file
REM This keeps a complete log of activity
COPY C:\WC30\WCUPDC%WCNODEID%+WCUPDC.LOG C:\WC30\WCUPDC%WCNODEID%.LOG
REM This line and the following 2 lines may be deleted if you wish
REM since the file is overwritten if it exists on the next upload
DEL WCUPDC.LOG
:SKIPWCUP
REM MSGCAT, etc......