dir: 说明, Display a list of files and subfolders.copy: 说明, Copy one or more files to another location.xcopy: 说明, Copy files and folders.robocopy: 说明, Robust File and Folder Copy, By default Robocopy will only copy a file if the source and destination have different time stamps or different file sizes.- 一般命令执行成功
%ERRORLEVEL%为0,而robocopy命令执行返回的值只要小于8,都算成功,具体见robocopy返回值
- 一般命令执行成功
ren: 说明, Rename a file or files. Read the introduction to know about the differences betweenremandmove.move: 说明, Move a file from one folder to another.
ipconfig: 说明,Configure IP (Internet Protocol configuration).netstat: 说明, Display current TCP/IP network connections and protocol statistics.netsh:- 说明, Configure Network Interfaces, Windows Firewall, Routing & remote access.
- The Netsh Command-Line Utility - Technet
- Netsh命令详解