Hey, how is it going everyone? In this video here,
You are going to learn how to master the Command Prompt.
In other words, you are going to learn ways to be more productive,
to use the Command Prompt more effectively.
The first thing you must do is tweak the Command Prompt so that it always opens with administrative Privileges.
Why is this useful?
Well, many of the functions of the Command Prompt require administrative privileges.
And, also, it can be -- let's admit it!
Pretty annoying to always have to right-click and select 'Run as Administrator.'
It is so much easier to just click and it automatically runs as administrator.
And doing so is rally easy!
Simply click the 'Start' button and then type 'Command Prompt' in the search field.
And now from the search results, right-click the Command Prompt and then choose 'Open file location.'
And now this will take you to the original shortcut file of the Command Prompt.
And now right-click that file and select 'Properties.'
Go to the 'Shortcut' tab and then click 'Advanced.'
On this screen, make sure you check this box where it says, 'Run as administrator.'
And then click 'Ok' to confirm everything.
And now look what happens!
I'm going to click the 'Start' button and I'm going to type 'Command Prompt'
And there you go! As you can see, when I open it, it runs as administrator.
So from this point forward, each time I look for the Command Prompt and open it from the Start menu,
It's going to open as administrator!
This is great because many functions of the Command Prompt require administrative privileges.
The second thing you can do is change the look of the Command Prompt
After all, it's a lot easier to be productive in something if you like the way it looks.
To do this, go on top of the Command Prompt
Right-click and select 'Properties.'
And now you should see that you are able to change the font, layout and colors.
And for example I am going to go to the color section.
And, as you can see, I have a myriad of colors I can choose from.
And now let me choose a nice, bright color that allows me to get things done.
And let me change the opacity or visibility to 30 percent.
That looks great right? Well, whether you like it or not, you can always change it to the way you like.
The third thing you can is auto-complete typing a command.
There are a lot of commands input into the Command Prompt.
And, really, remembering all of them can be a pain.
So what you can do is a auto-complete it.
If you know how the command starts, like the first letter. That's all you need.
Let's say for example the command I'm trying to type starts with -net.
And I don't know the rest. What I can do is simply type 'net' and then it TAB.
And when I do that, it auto-completes the command for me.
If it's not the command I'm looking for, I can hit TAB again
And it's going to show me another command that starts with 'net'
And I keep doing that until I find the Command I need.
The fourth thing you can do is that you can cancel a command.
And that's a lot easier instead of just closing and opening the Command Prompt.
To cancel a command, simply hit Ctrl+C on your keyboard
Let us see an example. I am going to type sfc /scannow to do a system scan.
If I hit Enter, it's starting the scan.
Now I am going to cancel that command.
Let met hit Ctrl+C on my keyboard
There you go! As you can see, the command just stopped.
I can type another command and then initiate it.
It's really useful to be able to do something like that.
The fifth thing you can do is copy text to the clipboard.
By default, it can be a bit of a pain copy text to the clipboard from the Command Prompt.
Here's how to do that.
Simply click and drag to highlight the area of text you want to copy to the clipboard.
And then hit, ENTER.
Now let us see if this works.
Let me open Notepad and paste that text into Notepad.
And there you! Here it is! It works.
Another way you can do this by using the little clip function.
To do this, type your command into the Command Prompt
For example, I am going to type 'systeminfo' to find out the specs for my PC.
So, I am going to type 'systeminfo' and then I am going to hit SPACE.
And then I am going to hit the vertical bar | on the keyboard.
Immediately after it, I am going to type 'clip' and hit ENTER.
It's going to copy all of the information to the clipboard.
If I go to Notepad again, it now works!
Those are the two ways you can copy and paste text using the Command Prompt.
And finally is to browse through your past commands by using the up and down arrow keys.
The up arrow key to go through the past commands.
The down arrow key to go through the most recent past commands.
This seems simple, but it really makes things a lot easier if you are constantly doing the same commands.
Overall, by using these tips you can be much more productive in using the Command Prompt.
If you know of any other techniques and tricks, post them as a comment.
For more videos like this, please subscribe.
Thanks for watching!