funap / npp-explorer-plugin

Explorer plugin for Notepad++ x64/x86
GNU General Public License v2.0
86 stars 10 forks source link

Make Command Prompt Here optional PowerShell or CMD.exe #13

Closed vinsworldcom closed 4 years ago

vinsworldcom commented 5 years ago

No problem, just noticed your new addition in the latest commits to replace "DOS Prompt" with "Command Prompt Here" and add a menu button in the dockable. I compiled that code, but just replaced the 'cmd.exe' in the ShellExecute() calls with 'powershell.exe' and it works find to launch PowerShell instead. I use PowerShell all the time now over cmd.exe.

A suggestions, perhaps in the options dialog, a radio button to select cmd.exe or powershell.exe and then have your selection be the command prompt that is launched when you press the dockable button or right click the context menu and select "Command Prompt Here"?

Just wanted your thoughts on this idea.

funap commented 4 years ago

Hi @vinsworldcom this issue fixed in ver.1.8.2.6. I am grateful for your PR.