howtogeek at June 19th, 2013 08:03 — #1
Originally published at: http://www.howtogeek.com/165268/how-to-add-open-powershell-here-to-the-context-menu-in-windows/
For as long as we can remember, Windows has had a hidden Open command window here option on the context menu, but who uses the command prompt these days?
libre_lbelmont at June 19th, 2013 09:43 — #2
I'd rather add "open ipython here" or "open msys here" or even "open cmd here". Powershell's syntax is but anti-human, when you learned it, your brain would been completely damaged, and you can never learn a programming language (a real one) again.
dongateley at June 19th, 2013 15:14 — #4
Or you could install "FileMenu Tools" and avoid the registry. It is a file menu sub-menu which already contains an optional bunch of incredibly useful functions and to which you can quite easily add your own without mucking about with the registry. It's how I get to a command shell now and I just might add PowerShell if I ever get around to investing the time to master that.
Whoever it is that's pushing PowerShell here with some frequency you might consider setting up a course at Udemy. I'd sign up and take it.
smartron at June 20th, 2013 12:30 — #5
Okay, it worked and I for one am impressed. I don't muck around in the Big "R" much but it is kinda cool to see windows is not the backwater it once was. Keep it up geeks!
sdelvecchio at June 26th, 2013 08:51 — #6
Don, use these parameters for file menu tools
Action: Run Program
Menu Text: Open PowerShell Here
Working Folder: %FOLDERNAME%
Run as Administrator: Yes
No other settings need to be modified.
dongateley at June 26th, 2013 19:36 — #7
Thanks. I didn't know about the %FOLDERNAME% parameter. Really useful for some other things I've created in File Menu Tools. I hadn't figured out how to do that and of course hadn't read the help.
sdx at July 4th, 2013 09:18 — #8
As a coding exercise for myself I made a PowerShell version of this:
1) New-PSDrive -Name hkcr -PSProvider Registry -Root HKEY_CLASSES_ROOT
2) New-Item hkcr:\Directory\shell\powershell -Value 'Open PowerShell Here'
3) New-Item hkcr:\Directory\shell\powershell\command -Value "C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe -NoExit -Command Set-Location -LiteralPath '%L'"
geek at December 13th, 2013 10:54 — #9
This topic is now closed. New replies are no longer allowed.