What is the Command Prompt?
The command prompt is very useful for Windows users which is a kind of command-line interface, using which you can manage or access anything on your PC. All you need is to know the commands which are required to access or run a particular thing via command prompt.
If you want to have more control over your Windows PC then I have mentioned some of the best CMD commands which all Windows users should know.
How to open Command Prompt?
> Go to search in Windows taskbar type CMD.
> Press Win+R, type CMD also you can press Win + X to open CMD.
Note: It is always advisable to open CMD as an administrator because some of the commands need administrative access.
1. ATTRIB: Change File Attributes:
For Eg: ATTRIB +R +H C:\temp\File1.bat.
2. SCHTASKS: Schedule Tasks:
For Eg: SCHTASKS /Create /SC HOURLY /MO 12 /TR Example /TN c:\temp \File1.bat.
3. CHKDSK: Check Disk.
4. SFC:
System File Checker.
*The SFC command also lets you:
> /VERIFYONLY: This command helps to check the integrity but doesn’t repair the files.
> /SCANFILE: This command helps to scan the integrity of specific files and fix if corrupted.
> /VERIFYFILE: This command helps to verify the integrity of specific files but doesn’t repair them.
> /OFFBOOTDIR: This command is used to do repairs on an offline boot directory.
> /OFFWINDIR: This command is used to do repairs on an offline Windows directory.
> /OFFLOGFILE: This command is used to specify a path to save a log file with scan results.
5. SYSTEMINFO: System Information.
6. SHUTDOWN: Turn Off Computer.
7. POWERCFG: Power Configuration.
8. TRACERT: TraceRoute.
9. PING: Send Test Packets.
10. NETSTAT: Network Statistics.
11. IPCONFIG: IP
Configuration.
12. FC: File Compare.
13. ASSOC: Fix File Associations.
* Other useful CMD commands:
Post a Comment
If you have any doubts, please let me know! Do not Post Any Spam Link!