home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dr. CD ROM (Annual Premium Edition)
/
premium.zip
/
premium
/
DOSUTIL1
/
FILL304.ZIP
/
FILL.DOC
< prev
next >
Wrap
Text File
|
1993-03-23
|
5KB
|
118 lines
FILL.DOC
03/23/93
The FILL program is designed to help you move or copy files off a hard disk and
fill up the floppy as much as possible each time. It does this by sorting the
file names so the largest files are moved/copied first. It then moves or copies
whatever files can fit on the floppy, skipping any that can't.
It can also be used to fill up space on hard disks which is sometimes useful for
network transfers.
Some of the default values for this routine can be set using the CONFIGWS.EXE
program contained in FILLymm.ZIP.
Syntax:
FILL [ source-filespec ] [ dest-drive: | dest-drive:\path\ ] [ /MOVE | /COPY ]
[ /OVERWRITE | /-OVERWRITE | /OVERSKIP | /OVERASK ] [ /PROMPT | /-PROMPT ]
[ /Ox | /O-x ] [ /Xfilespec ]... [ /WIPE | /-WIPE ] [ /MULTI | /SINGLE ]
[ /BEEP | /-BEEP ] [ /Q ] [ /? ]
where:
"source-filespec" is the file specification for what you want to move. You can
specify a drive and path and file wildcards if necessary (e.g. "C:\TEMP\*.BAT")
but otherwise it defaults to your default drive and directory and takes "*.*".
"dest-drive:" or dest-drive:\path" tells the routine what drive or path to move
the files to. Typically defaults to "A:\" but is CONFIGWS-able.
In many cases, the routine doesn't really care whether the source
specification precedes or follows the destination specification. If either
parameter ends with a colon (e.g. "A:") or slash (e.g. "C:\QB45\"), the
routine will presume that's the destination specification and the other one must
be the source specification. If either parameter contains a wildcard, the
routine will presume that's the source specification and the other one must be
the destination specification. So "FILL A: *.BAS" is the same as "FILL *.BAS
A:".
"/MOVE" says to move the files instead of copying them. This is typically the
default but is CONFIGWS-able.
"/COPY" says to copy the files instead of moving them.
"/OVERWRITE" says to overwrite same-named files in the destination path.
"/-OVERWRITE" says to abort if any same-named files are found in the destination
path.
"/OVERSKIP" says to skip any file that already exists in the destination path.
The counts aren't accurate in this case. This is typically the default but it's
CONFIGWS-able.
"/OVERASK" says to prompt if same-named files exist in the destination
directory.
"/PROMPT" says to prompt for each filename before moving it.
"/-PROMPT" says to not prompt for each file. This is normally the default but
this can be changed using the CONFIGWS.EXE program.
"/Ox" and "/O-x" allow you to specify the copy order for the files. "x" can be
one of the following:
N = file name
D = file date and time
S = file size
If you precede the "x" with a dash ("-"), the sort will be done in reverse
order. Note that this parameter does not determine which files are copied;
it only determines what order they are actually copied. Since the order that
the file tends to show up in a DOS DIR listing is based on creation order, this
sequence may be relevant to how the files ultimately show up. Defaults to /O-S
but this can be changed using the CONFIGWS.EXE program.
"/Xfilespec" says to exclude certain filespecs from being moved. You can
specify up to 10 exclusion parameters but each must have their own /Xfilespec
statement. For example, to move all files except those with a BAS extension,
you could say "FILL /X*.BAS".
"/WIPE" says that if the destination drive has files on it, prompt the user
for whether these files should be deleted or not.
"/-WIPE" reverses /WIPE. This is normally the default but this can be changed
using the CONFIGWS.EXE program.
"/MULTI" says to go to a second disk if all of the files can't fit on the
first diskette. This is typically the default but it's CONFIGWS-able.
"/SINGLE" says process only one diskette at a time and to not prompt for the
next diskette once the first gets filled up.
"/BEEP" says to beep once the routine is done doing its thing.
"/-BEEP" says to not beep upon completion. This is normally the default but
this can be changed using the CONFIGWS.EXE program.
"/Q" turns off the file-by-file status reporting.
"/?" or "/HELP" or "HELP" gives you the syntax of the command.
This program was written by Bruce Guthrie of Wayne Software. It is free for use
provided relevant documentation is kept with the program, no changes are made to
the program or documentation, and it is not bundled with commercial programs or
charged for separately. People who need to bundle it in for-sale packages must
pay a $50 registration fee to "Wayne Software" at the following address.
Comments and suggestions can also be sent to:
Bruce Guthrie
Wayne Software
113 Sheffield St.
Silver Spring, MD 20910
fax: (301) 588-8986