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/allIf 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_ADDRESSMake 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 *.pngHere *.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 cmddon't forget to change cmd with your command.
Hide Folder
You can hide a folder from cmd, using the commandattrib +h +s +r PathToTheFolderreplace 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
Post a Comment