I seen a comment awhile back on Lifehacker by the Geek that said he had successfully configured Lauchy to use the sudo command (with Start++ installed). Could you please explain how so?
Sudo Command with Launchy(10 posts)
You know, that sudo command isn't working right for me anymore... I did upgrade launchy and that might have something to do with it.
Let me do a little research and get back with you on this, alright? I'm sure there's a simple method, and this would make a great article.
Interesting. I had not read about that Launchy program before. I just downloaded it and it seems like it might be useful.
I also tested using it with the sudo.cmd file Start++ has and couldn't get it to work.
I did find a way to get an elevate command with a different program that did work for me.
Download elevate from http://jpassing.wordpress.com/.....mand-line/ and put it somewhere.
Now to configure Launchy to use it:
1. Click the little gear icon to open the options dialog.
2. Click the plugins tab.
3. Click "Runner" on the left.
4. Click the + button and enter the following for each field:
Name - sudo or whatever to want as a shortcut
Program - Full path to elevate.exe
Arguments - $$
Now when type su, hit tab, type a command and press enter it's launched elevated.
Thanks for the post jd2066, that seems to work well.
By any chance (I doubt there is, but) is there a way so that whenever I run something via this method that the cmd screen dosen't popup each time?
I think if you used a different program then the elevate.exe from that page that worked differently then a cmd screen wouldn't appear.
I will look later when I have time and see if I can find one.
I just looked and found out launchy is also making a cmd screen so even with a program that doesn't show one, one will still appear. I don't know how to fix that as it seems to be a bug with launchy.
I also found a way to use the Start++ sudo.cmd file with launchy though it doesn't really matter as it does exactly the same thing as the elevate.exe program.
Just use these values for the runner fields:
/C "C:\Users\[UserName]\AppData\Local\Start++\CMDs\sudo.cmd" $$
This topic has been closed to new replies.