home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 2 BBS
/
02-BBS.zip
/
acb153b1.zip
/
acrobat.zi_
/
proc_oth.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1997-01-10
|
1KB
|
39 lines
@ECHO OFF
REM CMD File for processing none-archive files
REM p1 complete path to file (ex. C:\FILES\UPLOADS\TEST.ZIP)
REM p2 which node? (ex. NODE1)
REM p3 path to files.bbs (ex. C:\FILES\UPLOADS)
REM p4 path bbs (ex. C:\ACROBAT\)
REM <acrobat dir>\TEMP MUST always exist!?!
REM <acrobat dir>\LOCAL MUST always exist!?!
REM You can turn uploadchecking off via ACROBAT.CFG
REM echo y| command, the y means yes. it's used for
REM bypassing the 'Are you sure(y/n)' command. If you
REM are using another language than english, you have
REM to change that y to the equivalent for your lan-
REM guage! For example, for dutch os/2 versions, you
REM have to change y in J because J because the dutch
REM prompt is 'Ben je zeker (J/N) ?'
REM I could all these stuff internally in acrobat, but
REM than i have to swap 4 times... This seems uglier,
REM but it's more efficient... BTW, I like those good
REM old batch processing stuff :)
REM Testing non-archive file
echo 1 >%4%2.CHK
echo 0 >%4%2.DIZ
c:\utils\virus\os2scan %1 /NOEXPIRE
if errorlevel 1 goto infected
echo 1 >%4%2.VIR
goto end
:infected
echo 0 >%4%2.VIR
del %1
goto end
:end
cls