Command Prompt is a long-standing tool built into the Windows generation that has a lot of effects that not everyone knows. The following 5 Command Prompt tips that few people know about will add a great deal of knowledge to you during using a computer
No matter which version of Windows you are using, the Command Prompt is one of the very useful tools. Of course, if you’re just an ordinary office user, you won’t need to open a Command Prompt. On the contrary, if you are a programmer or system engineer, or simply you are interested in discovering on your computer, opening the Command Prompt is too often. And with 5 Command Prompt tips we want to talk about will be of great help to you.
Because Command Prompt or PowerShell (on Windows 10) there’s no user interface, it’s just plain text so there’s a lot of limitations. The application of cmd command during computer use brings extremely useful convenience, you can handle everyday problems simply by using cmd commands as text instead of using other software, support tools. Therefore, adding the following 5 Command Prompt tips will help you manipulate faster when using Command Prompt or tips to help you execute a command quickly.
5 Command Prompt tricks that few users know about
1.Copy quick ipconfig parameters
ipconfig is a quick command in the Command Prompt that allows you to check all parameters related to your network and in case you want to get all that information to save to a certain location on your computer, use the following command.
Step 1: Instead of copying and pasting as usual, use the Command Prompt trick ipconfig | clip then press Enter to run. This command will help you copy the entire parameter when running ipconfig command without showing it on the Command Prompt screen.
Step 2: Then paste it into a Notepad page to check the results, you will see that there is enough information to be written with just a very simple command.
2. Open Command Prompt / PowerShell directly from Folder
As usual, we will have to open Command Prompt then type a few commands to gain access to the folder you want to manipulate and normally, right-clicking on a folder has no option to open Command Prompt directly. next.
However if you hold Shift and right click try again and you will see the text Open Command Prompt windows here right.
Note: On Windows 10, if you use PowerShell, the command line will show Open PowerShell windows here.
And then you can operate as you like with the Command Prompt / PowerShell command box you just opened.
3. List used commands on Command Prompt / PowerShell
In a session on Command Prompt, PowerShell, do you remember how many commands you used, with the following simple Command Prompt trick that will help you list them immediately. Use the script code doskey / history to display.
Note: A session is counted from the time you open the Command Prompt and not turned it off, if turned off there will be no data to store.
4. Open the folder directly in Command Prompt / PowerShell
A Command Prompt trick helps you quickly access a certain directory or use the command to quickly manipulate a directory, any modification file.
How do you show Need to drag and drop files and folders go into the Command Prompt and PowerShell window.
Note: If the Command Prompt is in Administrator mode, it cannot be executed.
5. Run multiple commands at the same time on Command Prompt / PowerShell
In case you want to run more than one command at the same time, it can be 2 or 3 commands or more with a single click. To be able to do this Command Prompt tips see how to do below.
Step 1: For example, in the case Taimienphi.vn wants to run 2 commands ipconfig and netstart What should we do for a while? Very simple when you just type ipconfig && netstart then hit enter to finish.
With characters && will allow you to run 2 commands at the same time, the command in front will be displayed first on the screen, and can apply 3 or more commands with this syntax.
With these 5 Command Prompt tips, it will be very necessary for you to use cmd 1, PowerShell. In addition, you also see its utility, easy to use and also very easy to remember, so remember it if possible. In the course of the article, there are two terms: Command Prompt and PowerShell, these are essentially the same tools, but there are also differences between Command Prompt and PowerShell, to learn more specifically, please visit update article Compare Command Prompt and PowerShell To learn more about these 2 tools.