View Single Post
Old 04-16-2008   #4 (permalink)
dikex


 
 

Re: Executing PS1 files by double clicking on them

a bat file
-----------------------------------------

ftype Microsoft.PowerShellScript.1="C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe" -noexit ^&'%%1'
assoc .ps1=Microsoft.PowerShellScript.1

-----------------------------------------
auto exit: remove -noexit
My System SpecsSystem Spec