/N=
number
Performs a comparison of the specified number of lines in each file beginning with
the first line.
/C
Performs a case-insensitive comparison of the two files. Normally, Comp considers an
uppercase letter different from a lowercase letter.
/OFF[LINE]
Forces the Comp utility to compare files even when the files have the offline
attribute set.
Copying Files with the
Copy
Command
The
Copy
command lets you create a copy of a file that exists in one directory into another directory.
You can create copies on other drives, even drives that you map using Windows. In addition, this
command works with nonfile devices such as the printer or keyboard. Generally, users rely on the
functionality provided by Windows Explorer to move and copy files. However, the extensive list
of command line switches provided by the
Copy
command makes it extremely flexible for use in
batch commands. In addition, using some switches, such as the ASCII file transfer option for text
files, can improve overall Windows copy performance. This command uses the following syntax:
COPY [/D] [/V] [/N] [/Y | /-Y] [/Z] [/L] [/A | /B ] source [/A | /B]
[+ source [/A | /B] [+ .
Pages:
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843