home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
High Voltage Shareware
/
high1.zip
/
high1
/
DIR4
/
ZERO_430.ZIP
/
ZERO.DOC
< prev
next >
Wrap
Text File
|
1994-01-31
|
4KB
|
88 lines
Zero
═════════════════════════════════════════════════════════════════
Starting with version 3.0 the program works with Dos 5.0 as
well as at least 3.3 (or earlier). The earlier versions would not
work with 5.0 so I modified the code to work with it and earlier
versions.
Starting with version 4.20 the program now resets the
archive bit if an existing file to be zeroed is "read only." This
still does not work if you are on a CD-ROM drive where all
information on the disc is "read only". That is unless you use
other than current directory for destination of zero length
files.
Starting with version 4.30 the program now has an optional
"YES" if you want to skip the "yes" confirmation, but only if you
are using the destination option. This also lets you use batch
files without having to press any keys. Use caution with this
option.
═════════════════════════════════════════════════════════════════
I needed to create zero length files in working with my GIF
collections, so I could keep track of rejects (bad or duplicate
files under different names). So I created ZERO. Nothing fancy,
but it works. If you have any problems with it, please write me
with complete details.
The same steps can be done with batch files, but being able
to write my own programs I prefer to write them rather than batch
files. Easier to handle errors, do colors, etc.
Wild cards do not work!
This program will zero length an existing file. If it does
not exist it creates it. You can zero length all of any file
extension in the current directory. If you type in ZERO the
screen displays the needed syntax and options (help screen).
ZERO filename.ext
This creates a zero length file name filename.ext. If the
file exists it is made to zero length. If the file does not exist
it is created.
ZERO .ext
The period is required. This makes all files with the
extension of '.ext' into zero length files.
ZERO .
This will make zero length files of all files with no
extension.
ZERO .GIF destination [yes]
"destination" is other than the current directory. Files in
the current directory are not zeroed out and zero length files
are written to destination. Warning: If you use the current
directory as the destination directory the files in the current
directory are zeroed out. This is nice for working with CD-Rom
discs where ALL files are read only.
"yes" means you are pre-answering the confirmation prompt.
Remember that if there are existing files of the same name in the
"destination" directory they are zeroed out. Just use some
caution with this option.
Use caution with ZERO .ext as this may destroy needed
/wanted data or other files you might not intend to zero length.
James Huckabey
3621-A Fraser Street
Bellingham, WA 98226-2473 U.S.A.
(206) 671-2868 (voice, Pacific)