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


Join Date: Dec 2007
XP 32bit
 
Rep Power: 6
dikex is on a distinguished road
  dikex is offline

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