Page 1 of 1

PowerShell integration

Posted: 05 Mar 2011 00:02
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.

Re: PowerShell integration

Posted: 05 Mar 2011 00:24
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";

Re: PowerShell integration

Posted: 05 Mar 2011 15:59
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