Useful Windows Commands

  assoc Lists programs associated with file extensions
  assoc *.fileExtension Name of program associated with the *.fileExtension
  ipconfig Details about computers IP address
  ipconfig /release 
  ipconfig /renew
Force your Windows PC into asking for a new IP address
 ipconfig /flushdns Refresh your DNS address
 netstat -an Lists currently open ports and associated IP addresses
  ping IP
  ping hostname
  ping domain name
Sends test packets to an IP address, hostname or domain  to check connection
 pathping  IP Information about the route of test packets
 taskkill -im program.extn Force stop a process using program name
 taskkill -pid processid Force stop a process using process id. Use tasklist command or task manager to get process id
 help Lists available commands
 help commandname
 commandname /?
List available switches or options available for the command
 systeminfo Lists extensive information about the computer like hostname, processor, BIOS version
 hostname Displays hostname or computer name
 mstsc Launch the Microsoft remote desktop application
 onenote Launch Microsoft one note
 iexplore Launch Microsoft Internet Explorer
 chrome Launch Google Chrome
 explorer Launch file explorer
 explorer . Launch file explorer at the current path
 command | more Page by page output of a command dir | more
some command have an explicit switch for the same like dir /p
 shutdown Shutdown your computer
 tab Use tab to cycle through the folders when using “cd” command
 nslookup Check IP address of any website nslookup google.com
 && Execute Multiple Commands. “ipconfig && dir” to execute both commands one after another.
 start notepad myfile.txt Create, save and open file in notepad
 copy NUL emtyfile.txt
[or]
 type NUL > emptyfile.txt
Create and save empty file at the current directory

References:
1. http://www.makeuseof.com/tag/15-cmd-commands-every-windows-user-know/
2. https://beebom.com/command-prompt-tricks/

Advertisements

Your Comments / Inputs are Welcome !..

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s