Opening Command Prompt with folder directory

This really short article is about the extremely fast method of launching the Windows Command Prompt in the specified directory.
In most sources, you can find advice on getting to the root and target directory by using the cd command.
I think there is a much quicker way of getting you directly to the folder you want.
If you are in the correct folder, like for example here (Pic. 1).

Windows folder example

Pic. 1 An example of a directory in Windows 10.

In the file explorer address bar, where usually you see the current path where you are, you just need to type the cmd command and hit enter (Pic. 2).

Command prompt file explorer bar

Pic. 2 Executing Windows Command Prompt straight from the folder directory where we are.

You should see the Windows Command Prompt window opened with the same directory! (Pic. 3).

Windows Command Prompt launched from folder directory

Pic. 3 Windows Command Prompt opened at the same directory where we are currently.

I think this way can be really useful in terms of various tasks, which can be executed from the Command Prompt panel like batch renaming file extensions, etc.

Mariusz Krukar





You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *