home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Unsorted BBS Collection
/
thegreatunsorted.tar
/
thegreatunsorted
/
misc
/
rc.doc
< prev
next >
Wrap
Text File
|
1992-04-17
|
5KB
|
104 lines
RC.COM - RemoveComment Version 2.01b 17-Apr-92
Copyright (C) 1992 by Larry Wood and Tom Potocki
RC is a GIF89a data stream modification utility. It removes, from GIF89a
data dtreams, Comment Extension Blocks.
RC also provides an option for saving removed comment blocks to one or more
disk files.
An optional switch, /F, provides a means to change the version of any GIF data
streams which no longer require a version of 89a after removal of any GIF89a
Comment Extension Blocks.
The optional switch, /FO, provides a means to change the version of any data
streams which are version 89a, but should be version 87a because they have
no data or extension blocks which require a version of 89a.
RC requires one paramater on the commandline. It can be a drive, directory,
filename, or combination, with wildcards supported. This paramater specifies
the source of the GIF data stream(s). The extension .GIF is appended to the
filename if no extension is supplied. To defeat this, end the filename with
a period " . ".
Example: C>RC PIRATE looks for PIRATE.GIF
C>RC PIRATE. looks for PIRATE
-----------------------------------------------------------------------------
::WARNING:: RC modifies a data stream by OVERWRITING the source! Data stream
files specified by the source paramater will be permanently changed, and any
comment blocks removed will be lost... unless saved to a disk file.
-----------------------------------------------------------------------------
RC's default filespec is *.GIF and this will be used if the source paramater
on the commandline is a drive or directory.
Entering a second paramater, the destination, will result in RC writing the
GIF89a Comment Extension Blocks to one or more disk files.
If the destination is a unique filename RC will write all comment extension
blocks, from all source files, to this one file.
If the destination is not a unique filename, but a drive or directory, RC will
write all comment extensions, from each source file, to a file having the
same name as the source file. The default filename extension is TXT.
The default destination filename extension may be specified by using an
asterisk, " * ", in place of the filename, in the destination paramater.
Example: C>RC D:\PHOTOS *.CMT
This will remove comments from all files in D:\PHOTOS having .GIF
as an extension, and write those comments to files, with the same
names, and with .CMT as the extentions. These files will be put
in the default directory of C drive.
GIF data streams which contain comment extension blocks are required to have
a version number of 89a. If this version number is required only because the
data stream contains a comment extension block, then it should be changed to
87a when all comment extension blocks are removed.
RC provides a switch, " /F ", for changing an 89a version number to 87a.
Including this switch in the commadline will tell RC to "Fix" the version
number of data streams which no longer require version 89a.
Including the " /FO " switch in the commadline will tell RC to "FixOnly"
the version numbers of those data streams which it encounters that are
incorrectly labeled version 89a. It will NOT remove comments from data
streams, but only change those that should be changed to version 87a.
Some example commandlines:
C>RC UTILITY
This will remove all comment blocks, from all GIF98a data stream files
having .GIF extensions, in the C:UTILITY directory. All comment blocks
will be lost.
C>RC UTILITY D:*.CMT
This will remove all comment blocks, from all GIF98a data stream files
having .GIF extensions, in the C:UTILITY directory. All comment blocks
in each data stream will be written to a file having the same name as the
source, and with .CMT as it's extension. These files will be put in the
default directory of D drive.
C>RC UTILITY D:*.CMT/f
This will remove all comment blocks, from all GIF98a data stream files
having .GIF extensions, in the C:UTILITY directory. All comment blocks
in each data stream will be written to a file having the same name as the
source, and with .CMT as it's extension. These files will be put in the
default directory of D drive.
All GIF89a source data streams which no longer require an 89a version
number will be changed to version 87a.
C>RC D:\NEW/fo
This will look at all files in the D:\NEW directory having .GIF extensions.
Those containing GIF89a data streams will be checked for the need to be
version 89a. Those that are found to not require an 89a version number
will be changed to version 87a. No other modification is done.
At present, RC can work with GIF data streams which will fit in RAM. Those
that are larger than available memory will be skipped. Sorry!
Amen.