CMD command via the Run window in Windows 7, 8 allows users to perform various settings adjustments. In previous articles, Mytour has guided users on troubleshooting CMD errors in Windows 7, 8 when encountering Command Prompt startup issues.
Commonly Used CMD Commands in Windows
This post delivers a compilation of CMD commands for Windows 7 and 8, streamlining everyday tasks traditionally done manually, offering you a chance to save more time.
CMD Commands for Windows 10, 7, 8
First, initiate the Command Prompt
1. Shutdown cmd command: Shut down or schedule shutdown
No need for shutdown software when you can use CMD commands on Windows. For instance, to shut down your computer in 10 minutes, press Windows + R, open the RUN dialog, and enter or paste: 'shutdown -s -t 3600'. Here, 'shutdown' initiates the computer's shutdown, 's' stands for shutdown, 't' represents time, and '3600' is the number of seconds until shutdown (adjustable). For immediate shutdown, replace 3600 with 0.
Press OK to activate the command, and a notification will appear, indicating your computer will shut down in 10 minutes.
This demonstrates how CMD commands can replace shutdown timer software.
2. Ipconfig cmd command: Discover your computer's IP.
If checking your computer's IP through multiple steps is time-consuming, you can swiftly do it via Command Prompt. Firstly, open Command Prompt by pressing Windows + R, then type cmd and hit Enter.
In the Command Prompt window, type 'Ipconfig' or right-click and paste it.
After typing 'Ipconfig', press Enter to view your computer's IP address.
- Note
- This is the IP address of your computer within the LAN.
3. Ping cmd command: Check network connectivity.
It's neither complex nor time-consuming if you want to check network connectivity on Windows, as it supports the 'Ping websitename' command in Command Prompt. For example, to check connectivity with google.com, type 'Ping google.com' in Command Prompt and press Enter.
- Note
- With this method, you can also check connectivity with other computers on the LAN. When executing, simply type Ping followed by the IP address of the target computer.
4. Ipconfig /flushdns cmd command: Clear all DNS cache data.
To immediately apply DNS Server changes, Windows leverages a cache system. Ensure Windows adopts the new DNS Server addresses by executing ipconfig /flushdns after any DNS modification.
A success notification confirms the command's execution: Successfully... as displayed.
5. Sfc /Scannow: Scans system files.
Windows integrates a System Files Checker to scrutinize all system files, identify, and automatically fix system issues. Simply open Command Prompt and input 'sfc /scannow' to utilize this feature.
Using the sfc /scannow command can replace the need to install additional utility software. Moreover, it's performed quickly and easily.
6. Netstat: Display network statistics.
The Netstat command helps to display all network statistics when used with various options. If you need to list network statistics, it's a useful command.
CMD commands are also used to troubleshoot computers that can no longer connect to the internet. You can find out how to fix network errors using CMD here.
7. Netstat –an: List network connections, network ports, and connected IP addresses.
One of the most interesting variants of Netstat is Netstat –an. When you execute this command, it will display a list of all network connections open on the computer along with the ports in use and connected IP addresses.
8. Telnet: Command to connect to Telnet Servers
When you need to connect to Telnet Servers, you can still do it directly using the command without the need for software. Since Telnet Servers are not installed by default on the computer, executing this command will result in an error as shown below.
To install Telnet Servers, navigate to Control Panel, select Program (1), then Turn Windows features on or off (2), scroll to find and select Telnet Servers (3), and finally press Ok (4) to enable Telnet Servers.
- Note
- Telnet Servers are used when directly connecting to a device that requires Telnet for setup. Avoid using Telnet Servers when unnecessary.
9. Cipher: Permanently delete data
As we know, the Cipher command is primarily used for encryption management. However, it also allows you to permanently delete files when you need to clean up your drive.
For example, to delete the 'Image Mytour' folder in drive D, you would execute:
cipher /w:d:Image Mytour
- Note
- Once data is deleted, it cannot be recovered, so be cautious during the process to avoid any confusion.
Those are 9 Command Prompt commands introduced by Mytour. However, depending on your usage purposes, you can use other CMD commands or actions such as manually removing viruses, cleaning up junk files, fixing startup files, enabling virtual keyboards, and more.
Additionally, you can explore many other commands like:
CMD-A Command
CMD-B Command
CMD-C Command
CMD-D Command
CMD-E Command
CMD-F Command
CMD-G-H Command
CMD-I-K Command
CMD-L Command
CMD-M Command
CMD-N-O Command
CMD-P-Q Command
CMD-R Command
CMD-S Command
CMD-T Command
CMD-U-V Command
CMD-W-X Command
Because certain commands in CMD require users to run CMD with Administrator privileges on Win 7, 8, 8.1, 10 to access them. You can refer to the article on running CMD with Administrator privileges that Mytour has shared.