Skip to main content

10 Useful CMD commands you should know About

Windows Command Prompt

Hey everybody, today I am here with 10 useful CMD commands that you should know about. These command are easy to use and will provide you with lots of information about your computer and even will help you do things fast.

ipconfig

When you need to know your IP Address ipconfig can come in very handy. You can get all the network related details for your computer just by running  a signle command.

ipconfig/all
If you need to change your IP Address run these commands
ipconfig /release
ipconfig /renew

ping

 This command is useful if you need to check the connection between computers or devices. If you are connecting to computers locally you can ping one computer from another to check if the connection is successful.
ping IP_ADDRESS
Make sure to change IP_ADDRESS with your device's ip.

command/?

This command can be helpful if you need to know about other command. It is similar to "whatis" command in linux. You can get detail about a command using
COMMAND/?
change COMMAND with your command.

Command Sequence

You can create a sequence of multiple command. This can be helpful if you are trying to run a sequence of command to complete some task. All you have to do is separate different commands using &&.

sfc /scannow

This command is used to scan and repair files. Just enter the command "sfc /scannow" and hit enter.
This can take a while, depending on you computer

Get Driver List

You can get a list of drivers installed on your computer. Just run "driverquery" and a complete list of all the drivers installed on your pc will be given to you.

Rename files

This command is very helpful when you have to rename multiple files. Renaming a file at a time can be tedious when you are dealing with a large number of files. Let's say, you have to change extension of 100 jpg files to png; All you have to do is run
Ren *.jpg *.png
Here *.jpg means select all the files with jpg extension and rename it to the .png.

Run Command as Admin

If you want to run a command as admin and don't want to  reopen the command prompt with administrator privileges, then all you have to do is 
runas /user:yourdomain\administrator cmd
don't forget to change cmd with your command.

Hide Folder

You can hide a folder from cmd, using the command
attrib +h +s +r PathToTheFolder
replace PathToTheFolder with the abolute path to the folder that you want to hide.

Get System Info

run the command systeminfo to get OS build, original install date, model, manufacturer, model and some other useful information.


That's it guys, hope you like it.
 

Comments

Popular posts from this blog

How to Fix Bluetooth not Working in Kali Linux

Hello everyone, how are you guys? Good? Cool. Quick question, Do you like our new theme? Let us know in the comments. so this article is for you if you are running Linux and your Bluetooth is not working. So I am here to help you fix that. It will be up and running in no time.

How to Flash TWRP on Samsung Galaxy Star Advance (SM-G350E)

Hi guys, I am back with another flashing guide. I had this Samsung phone lying around, so I thought about experimenting on it with custom rom. So I started searching for custom recovery, and I find out that this device is not officially supported by TWRP, but I got my hands on unofficial build of TWRP. Well I have to tell you, flashing TWRP on this device wasn't an easy task (mainly because, their isn't any simple guide available).

How to Fix Linux Boot stuck at initramfs

Last night I was using linux mint and it was working fine until I rebooted my pc and saw this And I was like What? What the hell is that? And mint wasn't booting up. So I did what we all do. Yup, Google! And I found this working solution. Now you must be wondering if there is already a solution available on the internet why the hell did you write this post? Mainly because it was all scattered around in pieces and I wanted to put it all together. Now let's fix this.