PowerShell integration

Features wanted...
Post Reply
mrf29
Posts: 1
Joined: 04 Mar 2011 23:57

PowerShell integration

Post by mrf29 »

I've been learning Microsoft PowerShell in Windows 7, and have thought of a suggestion for XYplorer.

In Windows 7 Windows Explorer, you can type "powershell" into the Explorer address bar to open a PowerShell command-line window in the currently selected folder. It would be great if XYplorer did that too, or had a button on the toolbar (or an entry in the context menu) that would invoke PowerShell in the selected folder.

Just a thought. (-:


S.

zer0
Posts: 2676
Joined: 19 Jan 2009 20:11

Re: PowerShell integration

Post by zer0 »

Welcome!

Just assign the following code to a TB and it will do the trick

Code: Select all

run "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe";
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

Stefan
Posts: 1360
Joined: 18 Nov 2008 21:47
Location: Europe

Re: PowerShell integration

Post by Stefan »

mrf29 wrote:you can type "powershell" into the Explorer address bar to open a PowerShell command-line window in the currently selected folder.
Try this in XYplorer address bar
!powershell


The trigger  ! opens %comspec% /k with current dir as CWD
The trigger !! opens %comspec% /c with current dir as CWD




700

Post Reply