User's Guide for MS-DOS Clients

128
Enhanced Reference
Command and Utility Summary
When source is a filename, the file is assumed to be in the current directory
on the current drive.
When destination is an existing file, the file is overwritten. If destination is a
file that does not already exist, a new file is created. The new file is given the
same name, creation date, and creation time as the source file.
When you specify only a drive as the destination, LAN Manager Enhanced
copies to the current directory on that drive. When you specify no drive, the
source copies to the current drive and directory.
The net copy command creates temporary connections between your
workstation and directories shared by other network users as part of the
copying process. When you have many connections to shared directories
and no remaining drive letters to assign to the temporary connection that
net copy needs to create, the net copy command fails. To correct this
problem, temporarily end one of your connections before using net copy.
You cannot use the net copy command if you have used any of the switches
while setting the MS-DOS environmental variable comspec. You can set the
variable with a command such as
set comspec=c:\dos\command.com
However, if you specify any options such as /p or /c, you will be unable to
use the net copy command.
Using the /a or /b Option
The /a and /b options perform differently depending on whether they follow
source or destination. The /a option is in effect in both cases unless the /b
option is specified.
With the /a option the file is treated as ASCII text:
When you place /a after source, the copy stops before the first end-of-file
character (an invisible character that signifies the end of a file).
When you place /a after destination, an end-of-file character is added as the last
character of the new file.
With the /b option the file is copied in binary format:
When you place /b after source, all end-of-file characters are copied.
When you place /b after destination, all but the last end-of-file character are