Translation of the article published test

1111111111111111111
to copy those files using the ending character (CTRL + Z) to indicate the end of the file ASCII text file.

Use / a

When the list of documents before the command line has / a, it applies to all listed files until copy encounters / b. In this case, / b applied to the front of the file / b.
When / a on the command line immediately after the file list, it applies to all listed files until copy encounters / b. In this case, / b applied to the front of the file / b.
/ a depends on its role in the command line string. When / immediately following Source a, copy treats the file as ASCII (text) file and copy the data before the end of the first file of character.
When / immediately after the Destination a, copy adds an end of file as the last character of the file.

Use / b

/ b command interpreter to read the number of bytes in the directory specified by the file size. / b is the default value for copy, unless copy combines files.
When the before / b list of files on the command line, it applies to all listed files until copy encounters / a. In this case, / a is applied to the front of the file / a.
When after a / b a list of files on the command line, it applies to all listed files until copy encounters / a. In this case, / a is applied to the front of the file / a.
/ b depends on its role in the command line string. When after a / b followed Source, copy the entire file copy any files containing terminator.
When / immediately after the Destination b, copy does not add end of file.

Use / v

If the write operation can not be verified, an error message appears. Although rare copy a recording error occurs, but you can still use / v to verify that critical data has been correctly recorded. To check because each sector recorded on the drive, so the / v command-line option will also make the copy command run slower.
Use / y and / -y
If COPYCMD environment variable is preset / y, by using the command line / -y to replace the setting. By default, when you are prompted to replace this setting, unless the copy command in a batch script.
Affiliated file
to append files, specify a single file for the Destination, but multiple files for Source (using wildcards or document file format 1 + 2 + 3 file).

Use / z

If the connection is lost (for example, if the server is offline cut off the connection) during the replication phase, copy / z will continue to replicate after re-establish the connection. / z will also shows the percentage of each file copy operation has been completed.
Copy to and from your device to copy
source or destination device name can be used to replace one or more occurrences of.
Used when copied to the device or omitting / b
when the destination is a device (e.g., Com1 or Lpt1), / b in binary mode to copy to the device. In binary mode, copy / b will all characters (including special characters, for example, CTRL + C, CTRL + S , CTRL + Z and line breaks, etc.) as the data copied to the device. However, if omitted, / b, in ASCII mode to copy the data to the device. In ASCII mode, special characters might cause Windows XP merge files during the copying process. For more information, see "Merge Files."
Use the default destination file
If you do not specify a target file, the source file using the same name, creation date, creation time to create a copy, and put a new copy of the current directory of the current drive in. If the source file was found in the current directory of the drive in, and you do not specify a different drive or directory for the destination file, the copy command will terminate with the following error message:
File CAN not BE copied appears Onto Itself
0 File (S) copied appears
to merge files
If the plus sign (+) a plurality of separated source specified, copy these files will be combined in a single file. If you use wildcard characters in the source (* or?), But in the destination specified in a single file name, you will copy all the files in the source file name matches the merge and uses specified in the destination file name to create a single file. Unless you use the / b command-line option, otherwise in either case, copy assumes the combined files are ASCII files.
Zero-length file copy
Copy the file will not be copied 0 byte length. Use xcopy to copy these files.
Time and date changes to the file
if you want to assign the current time and date to a file without modifying the file, use the following syntax:
Copy / b Source +,
comma indicate omission of the Destination parameter.
Copy the files in subdirectories
To copy all the files and subdirectories in the directory, use the xcopy command.
Recovery Console provides a copy command, with different parameters.
Zero-length file copy
Copy the file will not be copied 0 byte length. Use xcopy to copy these files.
Time and date changes to the file
if you want to assign the current time and date to a file without modifying the file, use the following syntax:
Copy / b Source +,
comma indicate omission of the Destination parameter.
Copy the files in subdirectories
To copy all the files and subdirectories in the directory, use the xcopy command.
Recovery Console provides a copy command, with different parameters. Zero-length file copy
Copy the file will not be copied 0 byte length. Use xcopy to copy these files.
Time and date changes to the file
if you want to assign the current time and date to a file without modifying the file, use the following syntax:
Copy / b Source +,
comma indicate omission of the Destination parameter.
Copy the files in subdirectories
To copy all the files and subdirectories in the directory, use the xcopy command.
Recovery Console provides a copy command, with different parameters.
----------------
Disclaimer: This article is CSDN blogger "flying crane 0755" original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source and link this statement.
Original link: https: //blog.csdn.net/feihe0755/article/details/103404986

Released 2321 original articles · 98 won praise · views 120 000 +

Guess you like

Origin blog.csdn.net/cpongo2/article/details/103181001