blank.gif (43 bytes)

Church Of The
Swimming Elephant

Search:
index.gif

ntcmds00000000.gif

Copy

Copies one or more files to another location.

This command can also be used to combine files. When more than one file is copied, Windows NT displays each filename as the file is copied.

copy [/a|/b] source [/a|/b] [+ source [/a|/b] [+ ...]] [destination [/a|/b]] [/v] [/n] [/z]

Parameters

source

Specifies the location and name of a file or set of files from which you want to copy. Source can consist of a drive letter and colon, a directory name, a filename, or a combination.

destination

Specifies the location and name of a file or set of files to which you want to copy. Destination can consist of a drive letter and colon, a directory name, a filename, or a combination.

/a

Indicates an ASCII text file. When the /a switch precedes the list of filenames on the command line, it applies to all files whose names follow the /a switch, until copy encounters a /b switch, in which case the /b switch applies to the file whose name precedes the /b switch.

When the /a switch follows a filename, it applies to the file whose name precedes the /a switch and to all files whose names follow the /a switch, until copy encounters a /b switch, in which case the /b switch applies to the file whose name precedes the /b switch. An ASCII text file can use an end-of-file character (CTRL+Z) to indicate the end of the file. When combining files, copy treats files as ASCII text files by default.

/b

Indicates a binary file. When the /b switch precedes the list of filenames on the command line, it applies to all files whose names follow the /b switch, until copy encounters an /a switch, in which case the /a switch applies to the file whose name precedes the /a switch.

When the /b switch follows a filename, it applies to the file whose name precedes the /b switch and to all files whose names follow the /b switch, until copy encounters an /a switch, in which case the /a switch applies to the file whose name precedes the /a switch.

The /b switch specifies that the command interpreter is to read the number of bytes specified by the file size in the directory. The /b switch is the default value for copy unless copy is combining files.

/v

Verifies that new files are written correctly.

/n

Uses a short filename, if available, when copying a file with a non-8dot3 name.

/z

Copies over a network in restartable mode.

See Also

ntcmds00000001.gif Xcopy

More Information About Copy

ntcmds00000001.gif Copy--Notes

ntcmds00000001.gif Copy--Examples

Cotse.Net

Protect yourself from cyberstalkers, identity thieves, and those who would snoop on you.
Stop spam from invading your inbox without losing the mail you want. We give you more control over your e-mail than any other service.
Block popups, ads, and malicious scripts while you surf the net through our anonymous proxies.
Participate in Usenet, host your web files, easily send anonymous messages, and more, much more.
All private, all encrypted, all secure, all in an easy to use service, and all for only $5.95 a month!

Service Details

 
.
www.cotse.com
Have you gone to church today?
.
All pages ©1999, 2000, 2001, 2002, 2003 Church of the Swimming Elephant unless otherwise stated
Church of the Swimming Elephant©1999, 2000, 2001, 2002, 2003 Cotse.com.
Cotse.com is a wholly owned subsidiary of Packetderm, LLC.

Packetderm, LLC
210 Park Ave #308
Worcester, MA 01609