Today I learned that executing commands in the Windows file explorer address bar works!
I discovered this by accident when my focus was in the wrong window. I used ⊞ win + E (file explorer) when I really meant ⊞ win + R (run command). A happy little accident.
How does it work?
- Start explorer.exe
- Go to the address bar (protip: Alt + D or Ctrl + L)
This starts a command window with the current directory as working directory. Ain’t that nice?
php -S localhost: 8080,
npm start or
python3 -m http.server
depending on your favorite platform.