Tips & tricks · Shortcuts · Windows · ~3 min a day · 2 min read
Type “cmd” into Explorer's address bar
Last reviewed:

In this article
The classic ritual: open a terminal, then click your way to the folder you want to work in using cd and name completion. Yet you're often already there — in File Explorer. Explorer's address bar doesn't just display a path: it can also execute commands. Type “cmd” into it, and a command prompt opens with its working directory set exactly to the folder you're already looking at.
How to do it
- In File Explorer, navigate to the folder you want to work in.
- Click into the address bar, or press Ctrl + L or Alt + D — the path gets selected.
- Type
cmdand press Enter — a command prompt opens in the current folder. Typepowershellinstead, and you get PowerShell. - It also works the other way and more generally: you can paste any path into the address bar and press Enter to jump there, type a system folder name like
Downloads, or launch a program that's on the system path. - A no-typing alternative: right-click an empty spot in the folder — Windows 11 offers Open in Windows Terminal right in the context menu.
A typical scenario
You've downloaded a project you need to install or build: npm install, pip install -r requirements.txt, a quick git status. You already have the folder open in File Explorer because you were checking what's in it. Instead of opening a terminal and building the path via cd C:\Users\... — stopping at every space in the name — you click into the address bar, type three letters, and the terminal opens exactly where you need it.
It's handy outside development too: a quick winget install in any folder, bulk operations via ren, or checking what's blocking a file from being deleted.
What you get out of it
- No more building paths:
cdwith long paths full of spaces and accented characters is a chore even with autocomplete — here it disappears entirely. - Speed: three letters and Enter beat opening a terminal and running several navigation commands.
- A smooth handoff between worlds: Explorer for browsing, the terminal for working — and switching between them stops hurting.
Pro tip
If you type in the terminal more often than you browse in Explorer, the reverse direction works too: in an open terminal, type explorer . (with the period) and the current directory opens as an Explorer window. The pair — cmd in the address bar and explorer . in the terminal — covers the transition both ways. And if you catch yourself popping a terminal open many times a day, check out quake mode in Windows Terminal, which keeps it permanently ready on one global shortcut.
Want to go deeper? The handbook has a whole chapter on it — The app categories that matter.
Similar tips
Hold an app icon: quick actions without opening it
A long press on an icon opens a shortcut menu: new email, selfie, private tab, navigate home. One tap instead of hunting inside the app.
Swipe along the bottom edge: Alt+Tab for your phone
Swiping right along the bottom edge of the screen switches to your previous app — on iPhone and on Android with gesture navigation. No app switcher needed.
Hold the back button — jump five pages at once
Alt+←
A long press on the back arrow unfolds the tab's history. Instead of clicking back five times, jump straight to the page where you started.
Was this helpful?
Liked this tip?
I send one like it every week by email. Two minutes to read, hours saved.
1 tip a week · no spam · unsubscribe in one click