Windows Tweaks Logo Microsoft PC Help - 02 blue red
Windows Tweaks Logo Microsoft PC Help - 09 white 120

Troubleshooting: Command prompt with path not working?

December 26, 2007
Updated: April 14, 2022
Quick overview:

Here we have presented you with a tip that will help you to open a command prompt with a path. We present you with help here in case the trick does not work everywhere.

[By Raimund Machacek]

To do this, press "Windows key + R" and in the window that appears, tap "regedit" in.

run_regedit

The Windows registry editor will now open.

Now click through to "HKEY_CLASSES_ROOT->Folder->Shell". There, right-click on "shell" the key "Open command line here". Repeat this step with the newly created key and create the key "Command". Now double-click in the right-hand section on "(Standard)" and simply enter "cmd.exe /k pushd %L" in.

regedit_open_kom_here

After a restart, you should now be able to open the command prompt with path everywhere.

Windows Tweaks Logo Microsoft PC Help - 09 white 120
by Real Tech Experts
Save time and nerves with expert knowledge about software, hardware, AI & Microsoft. 
Windows Tweaks Microsoft PC Help - SINCE 1998 - retina 2

Time-saving tips for PCs, laptops, Windows and software?

Subscribe to our newsletter, receive only our best tutorials & tweaks and exclusive tips for our subscribers. 
Newsletter form
Can be canceled at any time. About 1 - 2 mails per month. The consent includes the information on revocation, shipping service provider and statistics according to our Privacy policy.
© 1998 - 2025 Windows-Tweaks.info
Made in Germany with ❤️ 
For all technology users around the globe.
This website runs on 🌳 GREEN energy
crossmenu
EN