home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
BBS
/
BBS2DRAG.ZIP
/
ROBOC430.ZIP
/
FIXFILE.BAT
< prev
next >
Wrap
DOS Batch File
|
1995-02-10
|
544b
|
20 lines
@echo off
REM - Here we handle the comment insertion...
IF %2 == ZIP pkzip -z %1 <comment.txt
IF %2 == ARJ arj c -zcomment.txt %1
REM - Now, we try to send any description files to the Robocomm directory...
IF %2 == ZIP pkunzip %1 %ROBODIR% file_id.diz desc.sdi
IF ERRORLEVEL 1 GOTO ERROR
IF %2 == LZH lha e %1 %ROBODIR% file_id.diz desc.sdi
IF ERRORLEVEL 1 GOTO ERROR
IF %2 == ARJ arj e %1 %ROBODIR% file_id.diz desc.sdi
IF ERRORLEVEL 1 GOTO ERROR
GOTO END
:ERROR
CLS
ECHO No FILE_ID.DIZ or DESC.SDI file was found.
:END