Jan 12, 2017

get a cmd or powershell in windows in a specific directory from the explorer

it happens quite often for a developer to start a cmd.exe in a specific directory to start e.g. a
maven compilation.

You have the choice to either type in the path for a cd command or navigate in the Windows Explorer to the target directory, copy the path from the address bar and execute the "cd" with copy/paste in the
cmd.exe shell.

But it is much easier.

Navigate in the Windows Explorer to the target directory  and enter "cmd" or "powershell" in the address bar instead of the path:





and you get a cmd.exe in the desired directory without any "cd"