C:\WINDOWS>HELP XCOPY
复制文件和目录树。
XCOPY source
[destination
] [/A | /M
] [/D
[:date
]] [/P
] [/S
[/E
]] [/V
] [/W
] [/C
] [/I
] [/Q
] [/F
] [/L
] [/G
] [/H
] [/R
] [/T
] [/U
] [/K
] [/N
] [/O
] [/X
] [/Y
] [/-Y
] [/Z
] [/EXCLUDE:file1
[+file2
][+file3
]...
] source 指定要复制的文件。
destination 指定新文件的位置和/或名称。
/A 只复制有存档属性集的文件,
但不改变属性。
/M 只复制有存档属性集的文件,
并关闭存档属性。
/D:m-d-y 复制在指定日期或指定日期以后改变的文件。
如果没有提供日期,只复制那些源时间
比目标时间新的文件。
/EXCLUDE:file1
[+file2
][+file3
]...
指定含有字符串的文件列表。如果有任何
字符串与要被复制的文件的绝对路径
相符,那个文件将不会得到复制。
例如,指定如 \obj\ 或 .obj 的字符串会排除
目录 obj 下面的所有文件或带有
.obj 扩展名的文件。
/P 创建每个目标文件前提示。
/S 复制目录和子目录,除了空的。
/E 复制目录和子目录,包括空的。
与 /S /E 相同。可以用来修改 /T。
/V 验证每个新文件。
/W 提示您在复制前按键。
/C 即使写砦螅布绦粗啤?
/I 如果目标不存在,又在复制一个以上的文件,
则假定目标一定是一个目录。
/Q 复制时不显示文件名。
/F 复制时显示完整的源和目标文件名。
/L 显示要复制的文件。
/G 允许将没有经过加密的文件复制到
不支持加密的目标。
/H 也复制隐藏和系统文件。
/R 改写只读文件。
/T 创建目录结构,但不复制文件。不
包括空目录或子目录。/T /E 包括
空目录妥幽柯肌?
/U 只复制已经存在于目标中的文件。
/K 复制属性。一般的 Xcopy 会重设只读属性。
/N 用生成的短名复制。
/O 复制文件所有权和 ACL 信息。
/X 复制文件审核设置(隐含 /O)。
/Y 禁固崾疽匀啡细男匆桓?
现存目标文件。
/-Y 导致提示以确认改写一个
现存目标文件。
/Z 用重新启动模式复制网络文件。
命令行开关 /Y 可以预先在 COPYCMD 环境变量中设置。
这可能被命令行上的 /-Y 改写。
EXAMPLE
Create backup
Copy all files/folders and file attribute + ignore errors + overwrite older + skip existing
XCOPY "C:\Folder" "D:\Backups\Folder\" /S /E /C /H /O /R /Y /D /V
C:\WINDOWS>HELP STANDARD:ENDE
帮助实用程序不支持这个命令。请键入 "x /?"。
C:\WINDOWS>HELP ARP
Displays and modifies the IP-to-Physical address translation tables
used by
address resolution protocol (ARP).
ARP -s inet_addr eth_addr
[if_addr
]ARP -d inet_addr
[if_addr
]ARP -a
[inet_addr
] [-N if_addr
] -a Displays current ARP entries by interrogating the
current
protocol data. If inet_addr is specified, the IP and
Physical
addresses for only the specified computer are
displayed. If
more than one network interface uses ARP, entries for
each ARP
table are displayed.
-g Same as -a.
inet_addr Specifies an internet address.
-N if_addr Displays the ARP entries for the network interface
specified
by if_addr.
-d Deletes the host specified by inet_addr. inet_addr may
be
wildcarded with * to delete all hosts.
-s Adds the host and associates the Internet address
inet_addr
with the Physical address eth_addr. The Physical
address is
given as 6 hexadecimal bytes separated by hyphens. The
entry
is permanent.
eth_addr Specifies a physical address.
if_addr If present, this specifies the Internet address of the
interface whose address translation table should be
modified.
If not present, the first applicable interface will be
used.
Example:
> arp -s 157.55.85.212 00-aa-00-62-c6-09 .... Adds a static entry.
> arp -a .... Displays the arp
table.