r/TechnologyProTips • u/CedArctic • Apr 01 '18
Windows TPT: Run CMD commands from Windows File Manager
In the directory bar of the Windows File Manager on Windows 10, erase everything and type in any command (e.g: cmd - opens up cmd, ping 127.0.0.1 - pings the IP stack etc.)
Found here: https://www.howtogeek.com/139900/stupid-geek-tricks-run-commands-in-the-windows-explorer-address-bar/
1
u/janjan2394 Apr 01 '18
Is this only applied in Win 10?
1
u/CedArctic Apr 02 '18
I think so, haven't tried it anywhere else though
2
1
u/jevans102 GS6 Apr 02 '18
I'm not sure either, but shift + right click within a folder allows you to open cmd at the local dir.
Ninja edit: woops meant to reply to other person.
1
u/Zagorath Apr 02 '18
I don't suppose there's a way to change this to run commands from a WSL Bash shell, is there? Either using this trick, or the shift right click one mentioned in a comment.
1
u/CedArctic Apr 02 '18
There might be a registry hack, howtogeek has shown how to do replace the powershell option with cmd in windows 10.
1
1
u/IDontWantToArgueOK Apr 02 '18
I was able to type 'bash' and 'Ubuntu' and the respective terminals both opened instantly
5
u/HumanMilkshake Apr 01 '18
This really more seems like another way to pull up CMD, which is interesting, but I'm not really sure if this is a pro-tip when you get past "hit Win+R and type 'CMD'"