CMD command: Start-and-run, type cmd or command (you can see the system version, file system version) 1 on the command line. Appwiz.cpl: Programs and features 2. Calc: Start Calculator 3. Certmgr.msc: Certificate Management Utility 4. Charmap: Start character mapping table 5. Chkdsk.exe:Chkdsk disk Check (Administrator Run command prompt) 6. cleanmgr: Open Disk Cleanup Tool 7. Cliconfg:sql SERVER Client Network Utility 8. CMSTP: Connection Manager configuration file Installer 9. Cmd.exe:CMD Command Prompt 10. Auto Power off command shutdown-s-T 600:600 seconds after automatic shutdown shutdown-a: Can cancel the timer shutdown shutdown-r-T 600:600 seconds after the automatic restart Rundll32 user32.dll, Lockworkstation: Indicates that computer 11 is locked. Colorcpl: color management, configuring colors in displays and printers, etc. 12. Compmgmtlauncher: Computer Management 13. Compmgmt.msc: Computer Management 14. Credwiz: Backup or restore Stored user name and password 15. Comexp.msc: Open System Component Service 16. Control: Controls the surface version 17. DCOMCNFG: Open System component service 18. DCCW: Display Color calibration 19. Devmgmt.msc: Device Manager 20. Desk.cpl: Screen resolution 21. Dfrgui: Optimize drive Windows 7→dfrg.msc: Disk Defragmenter 22. Dialer: Phone Dialer 23. Diskmgmt.msc: Disk Management 24. Dvdplay:dvd player 25. DxDiag: Check DirectX information 26. Eudcedit: Word-font program 27. EVENTVWR: Event Viewer 28. Explorer: Open Explorer 29. Firewall.cpl:Windows Firewall 30. Fxscover: Fax Cover Page Editor 31. Fsmgmt.msc: Shared Folder Manager 32. Gpedit.msc: Group Policy 33. Hdwwiz.cpl: Device Manager 34. Inetcpl.cpl:Internet Property 35. Intl.cpl: Zone 36. IexpRess: Trojan Bundle tool, System comes with 37. Joy.cpl: Game controller 38. Logoff: Logoff command 39. Lusrmgr.msc: Local Users and Groups 40. Lpksetup: Language Pack Installation/Removal Wizard, the installation Wizard prompts you to download language Pack 41. Lusrmgr.msc: Native users and Groups 42. Main.cpl: Mouse Property 43. Mmsys.cpl: Sound 44. Magnify: Magnifier Utility 45. Mem.exe: Show memory usage (if the direct run is invalid, you can run the command prompt as an administrator, enter mem.exe>d:a.txt at the command prompt to open the D-disk to view a.txt, which is the memory usage. Of course what kind of file name can be decided by oneself. ) 46. Mdsched:windows Memory Diagnostic Program 47. MMC: Open Console 48. Mobsync: Synchronize command 49. Mplayer2: Easy widnows Media Player 50. Msconfig.exe: System Configuration Utility 51. MSDT: Microsoft Support Diagnostic Tool 52. Msinfo32: System Information 53. MSPaint: Drawing 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. Netplwiz: Advanced user Account Control Panel, set login security-related options 60. The Netstat:an (TC) command checks for interface 61. Notepad: Open Notepad 62. NSLOOKUP:IP Address Detector 63. ODBCAD32:ODBC data Source Manager 64. Optionalfeatures: Opens the "Turn Windows features on or off" dialog box 65. OSK: Turn on On-Screen Keyboard 66. Perfmon.msc: Computer Performance Monitor 67. Perfmon: Computer Performance Monitor 68. PowerShell: Provides powerful remote processing power of 69. Printmanagement.msc: Print Management 70. Powercfg.cpl: Power option 71. PSR: Problem Step 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 78. Rsop.msc: Group Policy result set 79. SDCLT: The backup status and configuration is to see if the system has been backed up 80. Secpol.msc: Local Security Policy 81. Services.msc: Local Service Settings 82. Sfc/scannow: Scan error and restore/windows File Protection 83. Sfc.exe: System File Checker 84. SHRPUBW: Create a shared folder 85. Sigverif: File Signature Validator 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 Due date Slmgr.vbs-dti: Display the Installation ID for offline excitation SLM GR.VBS-IPK: (product key) Install Product Key Slmgr.vbs-ato: Activate Windows Slmgr.vbs-cpky: Clear the Product Key from the registry (to prevent an attack caused by a leak) SLMGR.VBS-ILC : (License file) install license SLMGR.VBS-UPK: Uninstall Product Key slmgr.vbs-skms: (Name[ort]) Volume Licensing 88. Snippingtool: tool, support no rule 89. Soundrecorder: Tape recorder, no recording time limit of 90. Stikynot: Note 91. Sysdm.cpl: System attribute 92. Sysedit: System Configuration Editor 93. SYSKEY: System encryption, once encryption can not be solved, protect the system's dual password 94. Taskmgr: Task Manager (Legacy) 95. TM Task Manager (new version) 96. Taskschd.msc: Task Scheduler 97. Timedate.cpl: 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. Wmimgmt.msc: Opening Windows Management Architecture (WMI) 105. Write: WordPad 106. WSCUI.CPL: Operation Center 107. Wscript:windows script Host Settings 108. Wuapp:windows Update 1. Gpedit.msc-----Group Policy 2. SNDREC32-------Recorder 3. Nslookup-------IP Address Detector is a command-line tool that monitors whether DNS servers in a network can correctly implement domain name resolution. It can be used in Windows NT/2000/XP, but it is not integrated in Windows 98. 4. Explorer-------Open Explorer 5. Logoff---------logoff command 6. Shutdown-------60-second Countdown shutdown command 7. Lusrmgr.msc----native users and Groups 8. Services.msc---Local Service settings 9. oobe/msoobe/a----Check if XP is active 10. Notepad--------Open Notepad 11. cleanmgr-------Garbage Disposal 12. net start Messenger----Start Messenger Service 13. Compmgmt.msc---Computer Management 14. net stop Messenger-----Stop the Messenger Service 15. Conf-----------start NetMeeting 16. Dvdplay--------DVD player 17. Charmap--------Start character mapping table 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 DLL file to run 24. DRWTSN32------System Doctor 25. Rononce-p----15 second shutdown 26. DxDiag---------Check DirectX information 27. Regedt32-------Registry Editor 28. Msconfig.exe---System Configuration Utility Rsop.msc-------Group Policy result set 30. Mem.exe--------shows memory usage 31. Regedit.exe----Registration Form 32. Winchat--------XP comes with LAN Chat 33. ProgMan--------Program Manager 34. WINMSD---------System Information 35. PERFMON.MSC----Computer performance monitoring Program 36. Winver---------Check Windows version 37. Sfc/scannow-----Scan error and restore 38. Taskmgr-----Task Manager (2000/xp/2003 39. Winver---------Check 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--------shows memory usage 48. Msconfig.exe---System Configuration Utility 49. Mplayer2-------Easy widnows Media Player 50. MSPaint--------Drawing Board 51. MSTSC----------Remote Desktop Connection 52. Mplayer2-------Media Player 53. Magnify--------Magnifier Utility 54. MMC------------to open console 55. Mobsync--------Synchronization Command 56. DxDiag---------Check DirectX information 57. IExpress-------Trojan Bundle tool, System comes with 58. Fsmgmt.msc-----shared Folder Manager 59. Utilman--------Utility Manager 60. Diskmgmt.msc---Disk Management utility 61. DCOMCNFG-------Open the System groupService 62. DdeShare-------turn on DDE sharing settings 110. Osk------------turn on On-screen Keyboard 111. ODBCAD32-------ODBC data Source Manager 112. oobe/msoobe/a----Check if XP is active 114. Logoff---------Logoff command 66. Notepad--------Open Notepad 67. nslookup-------Network Management Tool Wizard 68. ntbackup-------system backup and restore 69. Narrator-------Screen Narrator 70. Ntmsmgr.msc----Mobile Storage Manager 71. Ntmsoprq.msc---Mobile Storage Administrator action Request 72. The Netstat-an----(TC) command checks for interface 73. Syncapp--------Create a briefcase 74. Sysedit--------System Configuration Editor 75. Sigverif-------File Signature Validator 76. CIADV.MSC------Indexing Service Program 77. SHRPUBW--------Create a shared folder 78. Secpol.msc-----Local Security Policy 79. SYSKEY---------System encryption, once encrypted can not be unlocked, the protection of Windows XP system dual password 80. Services.msc---Local Service settings 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 that appears after installation is complete) 86. Taskmgr--------Task Manager 87. EVENTVWR-------Event Viewer 88. Eudcedit-------Word-font procedure 89. Compmgmt.msc---Computer Management 90. Packager-------Object Wrapper 91. PERFMON.MSC----Computer Performance monitoring program 92. Charmap--------Start character mapping table 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 DLL file to run 98. regsvr32/u zipfldr.dll------Cancel zip support 99. Cmd.exe--------cmd command prompt 100. Chkdsk.exe-----CHKDSK disk Check 1. Disk operation, fdisk implicit parameter/mbr rebuild Master boot record fdisk/mbr rebuild Master boot Record fdisk adds/cmbr parameters after DOS7.0, and when multiple physical hard disks are hooked up, the sort is rebuilt The master boot record for the subsequent hard drive, for example: FDISK/CMBR 2, can rewrite the master boot record for the second hard drive. (Be very careful when using, avoid bad drive boot record corruption) format parameter:/q Quick Format/u unrecoverable/autotest do not prompt/s to create MS-DOS boot disk format c:/q/u/autotest2. Directory Operation dir [Directory name or file name] [/S] [/w] [/P] [/A] lists directory parameters:/s Find subdirectory/w only show file name/P page/a show hidden file DIR format.exe/s find Format.exe file for the disk and report location MD (MKDIR) [directory name] Create directory MKDIR hellow Orld Create HelloWorld Directory CD (CHDIR) [directory name] PS: You can use relative directory or absolute directory to enter directory CD AA to enter the current folder under the AA directory, CD. Go to the previous folder CD \ return root directory; CD C:\Windows enter C:\Windows folder Rd (RMDIR) [directory name] Delete Directory rd HELLOWORLD Delete HELLOWORLD directory 3. File operations Delete directories and their files: Rmdi R [Directory name or file name] [/s][/w][/p][/a]. Example RmDir c:\qqdownload/s Delete the Qqdownload directory for C-drives. del [directory name or file name] [/f][/s][/q] Delete parameter:/F Delete read-only file/s delete the directory and itsAll content/q is not confirmed del c:\del/s/q automatically deletes the Del directory of the C drive before the delete. copy [source file or directory] [target directory] copies files copy d:\pwin98\*.* c:\presetup Copies all the files of the D disk Pwin98 to the presetup of the C drive. attrib [parameters] [source file or directory] File properties action command, attrib command can list or modify the properties of files on disk, file attributes include document (A), read-only (R), Hidden (H), System (S), for example: Attrib-h-r-s io.sys execute this command, will be the DOS system files Io.sys file read-only, hidden, system attributes are removed, this will be able to directly through the dir command to see the Io.sys file. attrib +h +r +s autoexec.bat will add the above attributes for the automatic batch file. 4. Memory operation debug Debug Memory parameter-w [file name] write binary-o [address 1] [address 2] Output memory-Q exit Exp:o 10[return] o [[Return] 01[return] Q[return] DOS Change the value of the BIOS password in the corresponding location in the CMOS by writing 70H/71H Port to clear the award BIOS password. Debug can also Cracked hard disk protection card, etc., but can only be used under pure DOS. 5. Partitioning operations to disk partitions, typically divided into four zones, the disk partition is composed of primary partition, extended partition, logical partition. Both PQ and Acronis disk Director can be used to resize partitions without losing data, as well as merge operations such as the XP system, where you use the PQ,WIN7 system to operate essentially the same way as Acronis disk director. can go online to find tutorials to see, do not re-install the system can adjust the size of the partition, but it is recommended that you back up the data and then adjust, after all, the direct operation of the hard disk is a certain risk. NET use ipipc$ ""/user: "" Establish IPC empty link net ipipc$ "password"/user: "username" establish IPC non-empty link net to use h:ipc$ "password"/user: "username" directly after login Map the other side C: to the local for h:net use h:ipc$ after landing map the other side C: to the local for h:net use ipipc$/del remove IPC Link netUse h:/del to delete mappings to Local H: Map net user username password/add Establish user net users Guest/active:yes activate Guest user net user to see which users net U Ser account name View account's properties net localgroup Administrators username/add Add "user" to the administrator so that it has administrator rights net start to view which services net start service name is turned on service; (such as: net start Telnet, net start schedule) net stop service name stops a service net time destination IP to view the offset times net a time target Ip/set set local computer times with "Destination IP" The host's time synchronization, plus the parameter/yes can cancel the confirmation information net view view on which shared net view IP is turned on in the local LAN to see which shared net config display system network settings NET logoff disconnected The Enjoy net Pause service name pauses a service net send IP "text message" to the other side of the message net the network connection type and information that is being used within the LAN share view the locally opened shared net share ipc$ on ipc$ share net share ipc$/del Delete ipc$ share net share C $/del Remove the: share net user Guest 12345 with guest user login and change password to 12345 net PASSW Ord Password Change system login password netstat-a see which ports are open, common Netstat-an netstat-n view Port network connectivity, common Netstat-an netstat-v View work in progress NETST At-p protocol Example: Netstat-p TCQ/IP View a protocol Usage netstat-s view all protocol usage in use NBTSTAT-A IP offset 136 to 139 if one of the ports is open, you can see the name of the other person who recently logged in. Tracert-parameter IP (or computer name) trackingRouting (packet), Parameter: "-W number" is used to set the time-out interval. Ping IP (or domain name) sends the default size of 32 bytes of data to the host, parameter: "-l[space" packet size ";"-N Send data Number ";"-T "means to ping all the time. PING-T-l 65550 ip death ping (send files larger than 64K and Ping is the ping of Death) ipconfig (winipcfg) for Windows NT and XP (Windows 95 98) View local IP address, Ipco Nfig the available parameters "/all" Displays all configuration information tlist-t displays the process as a tree row table (additional tools for the system, which are not installed by default, within the Support/tools folder of the installation directory) kill-f process name plus-F parameter after forcing the end of a process (for system attach Tool, the default is not installed, in the Support/tools folder of the installation directory) del-f file name plus the-f parameter can delete read-only files,/ar,/ah,/as,/aa respectively for delete read-only, hidden, system, archive files,/a-r,/a-h,/a-s,/ A-a means to delete files other than read-only, hidden, system, archive. For example, "del/ar * *" means deleting all read-only files under the current directory, "Del/a-s * *" means deleting all files except system files in the current directory del/s/q directory or using: rmdir/s/q directory/S to delete all subdirectories and files under directory and directory. Use the parameter/q at the same time to cancel the system confirmation when the delete operation is deleted directly. (two commands are the same) the move drive letter path to move the file name of the files moved after moving the file name to move files, with the parameter/y will cancel to confirm that the mobile directory exists the same file prompt is directly covered FC One.txt Two.txt > 3st.txt compare two files and The difference is output to the 3st.txt file, ">" and "> >" are redirect commands at ID number to open a scheduled task that has been registered At/delete stop all scheduled tasks, use the parameter/yes to stop the at ID number directly without confirmation/dele TE stops a registered scheduled task at view all scheduled tasks at the IP Time program name (or a command)/R run the other program at some point and restart the computer finger username @host See which users have logged in recently TelneT IP port far and login server, the default port is the open IP connection to IP (the command after Telnet) Telnet on this machine directly type telnet to the native Telnet copy path file name 1 path file name 2/y Copy file 1 to The specified directory is file 2, with the parameter/y to cancel the confirmation you want to overwrite an existing directory file copy c:srv.exe ipadmin$ copy the local c:srv.exe to the other side of the admin copy 1st.jpg/b+2st.txt/a 3st.jpg will 2 St.txt content to hide into the 1st.jpg to generate 3st.jpg new files, Note: 2st.txt file header to empty three rows, parameters:/b refers to binary files,/a refers to the ASCLL format file copy ipadmin$svv.exe C: or: copyipadmin$ * * Copy the Srv.exe file (all files) from the other admini$ share to the local c:xcopy the file or directory tree destination directory name to be copied to copy the file and directory tree, with the parameter/y will not prompt overwriting the same file with the parameter/E to be copied to the destination address together with the subdirectory under the directory. Tftp-i own IP (using meat machine as a springboard when this with meat machine IP) Get Server.exec:server.exe login, the "IP" server.exe download to the target host C:server.exe parameters:-I refers to the binary mode of transmission, If the exe file is used, if not plus-I is transmitted in ASCII mode (transfer text file mode) tftp-i the other IP put C:server.exe login, upload the local c:server.exe to the host FTP IP port for uploading files to the server or File operation, the default port is 21. Bin refers to the binary mode (executable file), the default is the ASCII format (text file) route print shows the IP route, will mainly display network address addres, subnet mask netmask, gateway address gateways Addres , interface address interface ARP to view and process ARP cache, ARP is the meaning of name resolution, responsible for the resolution of an IP to a physical MAC address. ARP-A will show all information Start program name or command/max or/min open a new window and maximize (minimize) run a program or command mem View CPU usage Attrib file name (directory name) view the properties of a file (directory) attrib file name-a-r-s-h or +a +r +s +h Remove (add) a file of the archive, read-only, system, hidden properties; with + is added for a property dir view file, Parameters:/q Display files and Recording system which user,/T:C display file creation time,/t:a show the last time the file was accessed,/t:w last modified time date/t, time/t use this parameter namely "date/t", "time/t" will display only the current date and time, without having to enter the new date and time SE t specifies the environment variable name = The character to assign to the variable setting environment variable set displays all current environment variables set P (or other characters) to display all environment variables currently starting with the character P (or other characters) pause the batch program and display: Press any key to continue .... If you perform conditional processing in a batch program (see the If command and variables for more instructions) Goto label directs Cmd.exe to a labeled row in the batch program (the label must be a single line, preceded by a colon, for example: ": Start" label) the call path batch file name is called from the batch program to another A batch program (more instructions see Call/?) to execute a specific command on each file in a set of files (see the for command and variable for more instructions) echo on or off to turn echo on or off, use echo only to display the current echo settings echo information in The information is displayed on the screen echo information >> pass.txt Save the message to the Pass.txt file findstr "Hello" aa.txt looking for a string in the Aa.txt file Hello find filename Find a file Title Title name change cmd window title name color color value set CMD console foreground and background color; 0 = black, 1 = blue, 2 = green, 3 = green, 4 = red, 5= violet, 6 = yellow, 7 = white, 8 = Gray, 9 = blue, a= green, b= light aqua, c= red, d= lilac, e= Yellow, f= bright white prompt name change cmd.exe display command prompt (change C:, D: Unified to: Entsky) ver displays version information in a DOS window winver pop-up window displays version information (memory size, system version, patch version, computer name) Format drive letter/fs: Type formatted disk, type: FAT, FAT32, NTFS, Example: Format D:/fs:ntfs MD Directory name create directory replace source file Replace file directory replacement file ren original filename new file name rename filename tree Displays the table of contents in a tree structure with the parameter-F Will list the file name in the first folder type filename Displays the contents of the text file the more file name displays the output file Doskey the command to lock = character Doskey to unlock command = lock command for DOS (Edit command line, Recall Win2K command, and Create a macro). such as: Lock dir command: Doskey Dir=entsky (cannot use Doskey dir=dir); Unlock: Doskey dir= taskmgr Bring up Task Manager chkdsk/f D: Check disk D and Show status report; add parameter/F and repair error on disk tlntadmn telnt service admn, type tlntadmn select 3, and then select 8, you can change the Telnet service default port 23 for any other port exit Cmd.exe program or currently, with parameters/ B is to exit the current batch script instead of the Cmd.exe path path executable file name to set a path for the executable file. CMD launches a Win2K command Interpretation window. Parameters:/eff,/en Close, open command extension, more details see CMD/? REGEDIT/S registry file name import registry; parameter/s refers to quiet mode import without any hint; regedit/e registry file name Export Registry cacls FileName parameter displays or modifies file access control lists (ACLs)-when in NTFS format. Parameter:/d Username: Set deny user access;/p user name: Perm Replace the access rights of the specified user;/g user name: Perm gives the specified user access; Perm can be: N None, R read, W write, C Change (write), F Full Control; Example: cacls d:es T.TXT/D pub set D:est.txt deny pub user access. cacls file name View list of Access user rights for files REM text content add annotations to a batch file Netsh view or change the local network configuration
15-11-23:system directive