home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Beijing Paradise BBS Backup
/
PARADISE.ISO
/
software
/
BBSDOORW
/
FF_200.ZIP
/
BATFILES.ZIP
/
FF.BAT
< prev
next >
Wrap
DOS Batch File
|
1994-07-20
|
813b
|
36 lines
** Batfile to Virus check any uploads using THDPRO
** By Kevin Miller.
@ECHO OFF
CLS
D:
** Check for Previous uploads and delete message file.
IF EXIST D:\BBS\LOGS\UPLOADS.MES DEL D:\BBS\LOGS\UPLOADS.MES
SET FASTFILE=D:\bbs\files\fastfile\
CD \bbs\files\fastfile
FASTFILE %1
CD \BBS
** If user has uploaded any files, FF will have created the file UPLOADS.MES
IF EXIST D:\BBS\LOGS\UPLOADS.MES GOTO VIRUS
GOTO END:
:VIRUS
** Post a message to the sysop, notifying him of an upload by the user.
FEUTIL POST D:\BBS\LOGS\UPLOADS.MES #3 -from "Fastfile" -To "Sysop"
CD \BBS\FILES\AREA\UPLOADS
For all files in the directory Uploads, perform Virus check. (See Vircheck.BAT)
for %%f in (*.*) do call D:\BBS\BATFILES\vircheck d:\bbs\files\area\uploads\%%f
:END