#1 By: howtogeek, June 19th, 2013 08:03
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?
#2 By: Leon Belmont, June 19th, 2013 09:43
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.
#4 By: Don Gateley, June 19th, 2013 15:14
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.
#5 By: Richard_Bradley_Smith, June 20th, 2013 12:30
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!
#6 By: Stephen DelVecchio, June 26th, 2013 08:51
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.
#7 By: Don Gateley, June 26th, 2013 19:36
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.
#8 By: sdx, July 4th, 2013 09:18
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'"
#9 By: Lowell Heddings, December 13th, 2013 10:54
This topic is now closed. New replies are no longer allowed.