home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
BBS
/
ZLAB_19C.ZIP
/
GIFT4B10.ZIP
/
TESTGIF.BAT
< prev
Wrap
DOS Batch File
|
1992-01-22
|
943b
|
34 lines
@echo off
rem ProDoor/PCBoard batch file for testing GIF files
rem using GIFtest. Requires ProEcho from Sam Smith.
rem must call with "testgif %filename% %comport%"
rem Log GIFs to C:\PRODOOR\GIFLOG
rem Minimum size GIFs 321x201x16
rem Node 1 - Search for GIFTEST.CFG in the current directory
rem Erase failed GIFs
giftest %1 /P:%2/L:C:\PRODOOR\GIFLOG/E/M:321x201x16/N:1/C:GIFTEST.CFG
if errorlevel==25 goto DUPE
if errorlevel==20 goto BADREZ
if errorlevel==10 goto GIFLITE
if errorlevel==1 goto INCOMPLETE
proecho %2 ~Passed all tests!~~
goto end
:INCOMPLETE
proecho %2 ~Invalid Image or Incomplete Upload
proecho %2 ~Deleting GIF...~~
del %1
goto end
:GIFLITE
proecho %2 ~Detected GIFLITE, passed all tests~~
goto end
:BADREZ
proecho %2 ~Failed Minimum Resolution of 321x201x16
proecho %2 ~Deleteing GIF...~~
del %1
goto end
:DUPE
proecho %2 ~Duplicate GIF!
proecho %2 ~Deleting GIF...~~
del %1
:END