The Usage of Command Prompt
Command prompt is command line interpreter in Microsoft Windows, which is commonly used to administer your Windows OS by using commands only (no graphical interface). It’s easy to use, and so I like this tool!
Here is quick way to trigger this handy tool: Go to Start and then click run…, after that type cmd or cmd.exe and click OK button, after that this prompt will appear.
What commands are supported? Type help and then hit enter key, it will show you list of supported commands.
To know the details of using the command, just type command ?, example ipconfig ?
Here is an example of using ping to check the connectivity with other computer. If you see the reply from other computer, that means the network connectivity between your computer and other computer works fine.
These are the network related commands that will be useful for you to find out your network settings or perform quick troubleshooting quickly:
getmac- display MAC address
ipconfig- display IP network settings
netsh- configure/control/display network components
netstat- display TCP/IP connections and status
nslookup- query the DNS
ping- pings the network
route- display network routing table, add static routes
systeminfo- displays computer-specific properties and configurations
tracert- trace routes similar to patchping
These are other basic commands for you to get used to command prompt:
call- calls a batch file from another one
cd- change directory
cls- clear screen
cmd- start command prompt
color- change console color
date- show/set date
dir- list directory content
echo- text output
exit- exits the command prompt or a batch file
find- find files
hostname- display host name
pause- pauses the execution of a batch file and shows a message
runas- start a program as another user
shutdown- shutdown the computer
sort- sort the screen output
start- start an own window to execute a program or command
taskkill- terminate a process or a application
tasklist- display applications and related tasks
time- display/edit the system time
timeout- wait any time
title- set title for prompt
ver- display operating system version
w32tm- setting time synchronisation/time server/time zone
Check out here for more commands that you can use in command prompt.
What is the usage of ipconfig command
Simple Way to Release and Renew IP Address
How to Use nslookup to Check Domain Name Information
Net Send – Message Sending Easily
Return to top of "The Usage of Command Prompt"!!