Things that you don’t know in Command Prompt

1- Run multiple commands in one line:

To execute two commands or more in one line you should separate it using (&&), As the following:

cmd1 && cmd2 && cdm3

For example:

ipconfig && notepad

 

2- Copy command’s output on Clipboard:

In many time you need to copy the output of command and paste it somewhere.

you can do this easily as the following:

ipconfig | clip

Then open file and paste, you will see the result.

 

3- List the last commands typed:

To show the history of command prompt type this command:

doskey /history

The result list the previous commands executed.

 

4- Change the current Path with Drag and Drop:

Yes you can do this !!

if you need to change the path in command prompt to specific path you can do this by drag the file and drop it in command prompt.

Now the path changed to the file.