Click "run" on the "Start" menu and enter
1. eventvwr. MSC/s
Open Event Viewer (view system logs)
2. gpedit. MSC
Open Group Policy
Example: Close the System Event tracker in Windows Server 2003: Click Start> Run, enter gpedit. msc, and open the Group Policy Editor. Select "Computer Configuration> management template> System" in the Left window, double-click "show
Appwiz. Cpl ------------ add and delete Program Control userpasswords2 -------- user account settingsCleanmgr ------- garbage collectionCMD -------------- a command prompt can be used as an attachment for Windows. Ping, convert, and other functions that cannot be used in the graphic environment must be used.CMD ------ view the Java Virtual Machine version in JView.Command.com ------ the call is the built-in NTVDM of the system, a DOS virtual machine. It is a virtual environment similar to Virtua
Common Windows command set
Winver --------- check the Windows versionWmimgmt. msc ---- open windows management architecture (Wmi)Wupdmgr -------- Windows Update Program W script -------- Windows Script Host settingsWrite ---------- WordPadWinmsd --------- system informationWiaacmgr ------- scanner and camera wizardWinchat -------- XP built-in LAN chatMem.exe -------- Display memory usageMsconfig ----------- startMsconfig.exe --- System Configuration
Winver --------- check the Windows versionWmimgmt. msc ---- open windows management architecture (Wmi)Wupdmgr -------- Windows Update ProgramW ****** -------- Windows Script Host settings write ---------- WordPadWinmsd --------- system informationWiaacmgr ------- scanner and camera wizardWinchat -------- XP built-in LAN chatMem.exe -------- Display memory usageMsconfig.exe --- System Configuration UtilityMplayer2 ------- simple Widnows Media Player ms
The following content is related to the operating system version and does not guarantee that all windows instances can run.
Winver checks the Windows versionWmimgmt. msc open windows management architecture (Wmi)Wupdmgr Windows UpdateProgram Wscript Windows Script Host settingsWrite BoardWinmsd system informationWiaacmgr scanner and camera wizardWinchat XP built-in LAN chatMem.exe displays memory usageMsconfig.exe System Configuration UtilityMplayer
Windows Quick Start command, windows Command
Gpedit. msc ----- Group PolicySndrec32 ----- RecorderNslookup ----- IP address DetectorExplorer ------ open Resource ManagerLogoff ------- logout commandTsshutdn ------ 60 seconds countdown shutdown commandLusrmgr. msc ---- local users and groupsServices. msc --- local service settingsOobe/msobe/a --- check whether xp
Java executes windows cmd command, and java executes windowscmd
// Obtain the runtime
Runtime rt = Runtime. getRuntime ();
// Obtain the process
Process p = rt.exe c (String [] cmdarray); or Process p = rt.exe c (String cmd );
If p is not empty, clear it.
If (null! = P) {destory
P. destory ();
P = null;
}
For example:
Runtime rt = Runtime.getRuntime(); Process p = rt.exec("cmd.exe /c shutdown -a"); System.out.println(p.toString());
Cmd/c dir: Close the command window after executin
1. gpedit. msc ----- Group Policy2. sndrec32 ------- Recorder3. NSLookup ------- IP address Detector4. Explorer ------- open the Resource Manager5. logoff --------- logout command6. tsshutdn ------- 60 seconds countdown shutdown command7. lusrmgr. msc ---- local users and groups8. Services. msc --- local service settings9. oobe/msobe/A ---- check whether XP is ac
Java runtime.getruntime(cmd.exe C (commandstr) can call and execute the CMD command.
CMD/C dir: Close the command window after executing the Dir command.
CMD/K dir does not close the command window after executing the Dir command.
CMD/C start dir opens a new window and executes the Dir command. The original window is closed.
CMD/K start dir will open a new window and execute the Dir command. The original window will not close.
You can use CMD /? View help information.
★CMD command★1. gpedit.
"Start" ---> "run" Enter the following command, or win + R, and enter the following command
1. gpedit. msc ----- Group Policy2. sndrec32 ------- Recorder3. NSLookup ------- IP address Detector4. Explorer ------- open the Resource Manager5. logoff --------- logout command6. tsshutdn ------- 60 seconds countdown shutdown command7. lusrmgr. msc ---- local users and groups8. Services.
Use the cmd.exe command in Java
Keywords: Java cmdJava runtime.getruntime(cmd.exe C (commandtext) can call and execute the CMD command.
CMD/C dir: Close the command window after executing the Dir command.
CMD/K dir does not close the command window after executing the Dir command.
CMD/C start dir opens a new window and executes the Dir command. The original window is closed.
CMD/K start dir will open a new window and execute the Dir command. The original window will not close.
You can use CMD /
;Shexecinfo. lpverb = "properties ";Shexecinfo. lpfile = "C: \"; // can be a file as wellShexecinfo. lpparameters = "";Shexecinfo. lpdirectory = NULL;Shexecinfo. nshow = sw_show;Shexecinfo. hinstapp = NULL;Shellexecuteex ( shexecinfo );
Appendix: some windows system commands:
Winver --------- check the Windows versionWmimgmt. msc ---- open windows management architecture (Wmi)Wupdmgr -------- Windows Update ProgramWscript -------- Windows Script Hos
Gpedit. msc --------------------------- Group PolicySndrec32 ------------------------- RecorderNSLookup ------------------------- IP address DetectorExplorer ------------------------- open the Resource ManagerLogoff -------------------------- logout commandTsshutdn ------------------------- 60 seconds countdown shutdown commandLusrmgr. msc ------------------------- local user and groupServices.
CMD command set
1. gpedit. msc ----- Group Policy2. sndrec32 ------- Recorder3. NSLookup ------- IP address Detector4. Explorer ------- open the Resource Manager5. logoff --------- logout command6. tsshutdn ------- 60 seconds countdown shutdown command7. lusrmgr. msc ---- local users and groups8. Services. msc --- local service settings9. oobe/msobe/A ---- che
Mstsc -- Remote Desktop Connection
Logoff -- logout command
Rononce-p -- shutdown in 15 seconds
Tsshutdn -- 60 seconds countdown shutdown command
Iexpress-a trojan bundle tool that comes with the System
Tourstart -- XP introduction (roaming XP displayed after installation is complete
Program )
Winchat -- XP built-in LAN chat
Sndrec32 -- Recorder
NSLookup -- IP address Detector
Explorer -- open Resource Manager
Lusrmgr. msc -- local users and groups
S
Gpedit. msc --------------------------- Group PolicySndrec32 ------------------------- RecorderNSLookup ------------------------- IP address DetectorExplorer ------------------------- open the Resource ManagerLogoff -------------------------- logout commandTsshutdn ------------------------- 60 seconds countdown shutdown commandLusrmgr. msc ------------------------- local user and groupServices.
Gpedit. msc ----- Group PolicySndrec32 ------- RecorderNSLookup ------- IP address DetectorExplorer ------- open the Resource ManagerLogoff --------- logout commandTsshutdn ------- 60 seconds countdown shutdown commandLusrmgr. msc ---- local users and groupsServices. msc --- local service settingsOobe/msobe/A ---- check whether XP is activatedNotepad -------- ope
Tags: des OS ar use SP file data on Art
Gpedit. msc ----- Group Policy sndrec32 ------- RecorderNSLookup ------- IP address detector explorer ------- open Resource ManagerLogoff --------- logout command tsshutdn ------- 60 seconds countdown shutdown commandLusrmgr. msc ---- local user and group services. msc --- local service settingsOobe/msopad/A ---- check if
1. gpedit. msc ----- Group Policy2. sndrec32 ------- Recorder3. NSLookup ------- IP address Detector4. Explorer ------- open the Resource Manager5. logoff --------- logout command6. tsshutdn ------- 60 seconds countdown shutdown command7. lusrmgr. msc ---- local users and groups8. Services. msc --- local service settings9. oobe/msobe/A ---- check whether XP is ac
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.