(08-10-1993 12:40pm UNIQFILE.EXE)
UNIQFILE reads DOS Standard Input (or file) and writes to a unique file.
Usage: [Extension] [Drive:Path] [InputFileNm]
UNIQFILE is useful in networks and other multiuser environments
to avoid conflict between two users running the same routine at the
same time and overwriting each others files.
All generated file names begin with "$".
The first parameter is optional and allows you to specify the
extension of the unique file created. The default extension
The second parameter is optional and allows you to specify the
drive and/or path where the unique file is created. If this
is not specified, the current drive and current directory are
used. A single period will also specify the current directory.
The third parameter is optional and allows you to specify the
input file name. If not specified, the DOS Standard Input
is used. It is important to use the input file parameter
when input is a binary file, since DOS Standard Input is
read as a text file. Also, if the input file name is specified,
a read-after-write verified copy is performed.
The file name used is echoed to the Standard Output device.