List of Windows Commands
OT: Open a command window with administrative privileges - Start Search box, type cmd, and then press CTRL+SHIFT+ENTER.
The neat commands that I tend to lookup:
-
pushd / popd for changing the current directory and drive at the same time
-
Tasklist /svc - lists all processes attached to Windows Services
-
Windows has a help file that has good documentation on all of the built in command line commands: %systemroot%\Help\ntcmds.chm
-
A nice list of many of Windows (NT/2000/XP) commands available from the command prompt: http://www.seanet.com/~shardy/CMD_HELP.HTML - this seems to have moved or gone away sometime between 2003 and 2010. This might be the new location of the same file: http://www.differentchairs.com/CMD_HELP.HTML
-
Microsoft's page for command line syntax and stuff: http://www.microsoft.com/technet/treeview/default.asp?url=/technet/prodtechnol/windowsserver2003/proddocs/standard/ntcmds_o.asp
-
String two commands into one directive at once - found on Stack Exchange:
ipconfig /release && ipconfig /renew
WARNING DO NOT DO THIS WHEN THE COMMAND WINDOW IS ON A NETWORK SHARE! You will get "The current directory is invalid" which will block the second command!
-
List logged on users on a remote computer (on the same AD): qwinsta /server:SERVER
-
List logged on users on same computer: query session
-
-
Logoff user session (has parameter for computer): logoff /? - e.g. logoff 23 to log off session 23 per "query session" results.
-
Close program, nicely - taskkill /IM googledrivesync.exe - note the /IM
-
Event Viewer: Eventvwr.msc
-
Add / Remove programs: control appwiz.cpl
tags: dos, commands, prompt, cmd
>>
Leonard Chan's Homepage
>>
Scribble Web
>> List of Windows Commands