make powershell script a icon to launch?

Hi, is it possible to make a PowerShell script that can be double clicked to run?

I like to have a icon that executes this

& "C:\Program Files (x86)\ErgoEmacs\bin\emacs.exe" -Q --load=~\ErgoEmacs_Source\ergoemacs\ergoemacs\init.el --load=~\.emacs

i tried to save it as a file run_ergoemacs.ps1 but double click only opened the file in a text editor.


∑ http://xahlee.org/

No comments:

Post a Comment