The Windows command window is a tool that we resort to many times. Today we show you 5 tricks that you probably do not know, and that can help you use this tool more comfortably. You are ready? Keep reading.
Send the output of a command to the clipboard
How many times have you used the ipconfig command to copy and paste the output? You won't have the need to do it anymore, as you can just send the output directly to the clipboard by adding | clip after command, for example:
ipconfig | clip
All "ipconfig" information will be temporarily stored in the computer's memory. To recover it we will only have to open a plain text document and proceed to paste the information there.
Open the command window inside a folder
Have you ever opened the command prompt and entered endless commands trying to reach a folder? If the answer is yes, you will like to know that you can save a lot of time by opening a powershell command line inside a folder from the explorer. All you have to do is hold down the Shift key while right-clicking on a folder, and the option will appear in the context menu.
View the history of previous commands
You've most likely hit the up key to get to your previous commands, but this can be a pain when you're trying to track down a particular command . Another way to view your previous command is to use the "doskey" command.
doskey / history
Drag and drop files to change current path
Another nifty trick if you're not a fan of opening a command prompt from the context menu, is the ability to drag and drop folders onto the command prompt, and have it automatically enter the folder path. Something that can be really practical.
Run multiple commands in one go
Our last hack of the day is one that many geeks already know, the ability to run multiple commands at once by linking them with &&.
You can do this with any command and you can link as many as you want.