Internet PC

The 12 Useful command prompt Tricks & Hacks

The command prompt tricks are which can actually take care of your daily work. You might feel that the command prompt may be the old fashion thing which may not benefit you in recent times but our thinking of that is not a right one.

The command prompt is a bit complex, yes, but it has a capability which can make all manual tweaking as just a single commands work and that’s really a very cool thing of it.

Once you use this you can know how powerful it is as the current users of this will be knowing much about its capability because the do not mind learning few tricks or the commands to take care of the daily life work in just a snap.

12 Best Command Prompt Hacks & Tricks

So learn this command prompt will surely help you to save a little time of the extra work every day.

Best Command Prompt Tricks

So here I would like to share you with few command prompt and few tricks which can benefit you great.

Here you go…

Get help on almost every command

This can be greatly benefited to the beginners and even the advanced users can get to know about few things too.

So here you can easily get the information on almost every command you provide and suggest in the Command Prompt.

Here the information does include the complete details of what exactly a command does actually and what process are they using, this may also give you some of the examples.

If you want to get any help you can just type in “/?” at the end of the command of which you will have to need the information.

Just for an instance, if you just type “ipconfig”, you can get all the complete information.

Use Function Key

So this works like you can use the function keys like F1, F2, F3 and many such just right inside the Command Prompt and get the unique results out of it.

So I will share you some of the uses of the function keys in the Command Prompt.

  •  F1-  pastes per character last used the command.
  •  F2-pastes last use command only to the specified command character.
  •  F3-pastes the last used command.
  •  F4-delete the command only to the specified command character.
  •  F5-pastes the last used command without the cycling.
  •  F6-Pastes ^Z
  •  F7-this gets you the list of the already used commands.
  •  F8-Pastes the cycleable used commands which are selectable.
  •  F8-Pastes the cycleable used commands.
  •  F9-this allows you to paste the command from the list of recently used commands.

Save a Command to a life

So this is for if at all you want to save the results of a command to texts for the further future reference, if so then it will be quite easy and simple.

Here all you need to do is just add “>(destination/file name with.txt extension)” and at the end of the command, you will be about to execute.
For instance, you can type “ipconfig>c:/Networkdetail.txt”, so this command will create a .txt file in the C drive with the name “Network details”.

This is really a cool thing and a useful one for you.

Copy the Data from the Command prompt

As you think copying the data from the command prompt is just not a Ctrl+C, the actual process is different. But anyways you don’t have to worry because it is not that difficult one for you, it’s actually just right-clicked anywhere in the window and just click on the ”Mark” from the menu.

After all that you just have to select the text which you want to copy and the click on the enter button to copy it.

The main thing you need to know is With the windows 10, the “Ctrl+C” and the Ctrl+V commands to the copy/paste which as actually been enabled in the Command prompt.check out the sites to trace any mobile number from usa

So if it is Windows 10 you do not need to follow the above process. In the Windows 10 keyboard, the shortcuts for the CMD are enabled by default which was not the case with the earlier version of the windows.

Cycle Through Folders

Specifying the exact directories can actually be a little irritating and a frustrating task in case if you do not have the destination copied.

And anyways if you know which folder or the drive required folder is located, so then you can cycle through all those folders to reach it.

So to do this you have to just type the specified drive and the start press TAB key on the keyboard to cycle through complete all the folders inside it. This is a cool one too.

Use QuickEdit Mode

So this command prompt comes with the quick edit mode to help you with the quick copy and paste content with just a right click in the QuickEdit mode.

Here you can highlight the content and then the right click to copy it or even a right-click in the blank area to just paste the content from the clipboard if you wanted to paste something.

So if you want to enable the QuckEdit mode, you have to right click on the top of the command prompt interface (where actually the exit button is located so after that you need to select the “properties”.

Here in the properties, you have to check the checkbox next to the “QuickEdit mode” to enable it then later you can disable it.

Check IP address of any of the websites

Here you can just see the IP address of any website by just entering the “nslookup” command along with the name of the website.

Check out these best Apps to Scan files for android devices.

For instance, you can type in “Nslookup” to get or find the IP address.

Executive Multiple Commands

In this, you can easily provide the one command after the another by just providing all the command and even applying “&&” between each of the commands if you do that it may also save some time.

For instance, you can just type in “ipconfig && dir” to execute both of the commands one after the other.

Check default programs

Her you can check with the applications which are use to open specific types of the programs. So for this purpose, you have to just type in the “assoc” inside the command prompt and just tap on the enter button.

You can see all the extensions and their associated program which open them which is written next to them. This can benefit you for great.

Get PC Drivers list

You can check the list of drivers installed on the PC with a single command. So here you have to type in “driver query” in the command prompt and just tap enter.

Then later after a short delay, you can see all of the drivers installed on your PC along with the name, the type and the link date.

Scan the system files

This system files can actually be scanned and even also repaired from the command prompt.

All you have to do in here is just type in “sfc/scannow” and hit the enter button, so then after that, the scan will start it will take you some time but it actually depends on your PC speed approximately it may take an hour according to me. If you want to test out new 3d launchers then check out this best 3D launchers for android

This will tell you what are the problems in it and gets you the details or either it will repair by itself if there is any issue in it and lets you know.

Change the command prompt color

So here in this, you have an option of changing the color you can make the command prompt color to make it look a little better.

This works like you have to just right click on the top corners of the command prompt and you can select the “properties” from the main menu bar.

So in the properties, you can navigate the colors tab and you can change the color of the both text and the background.


So, here are the 12 best command prompt ( cmd prompt ) tricks & hacks which will easier up your life. Do share the article and let us know any hack or trick if we have missed through comments.

Post Comment