How-To Geek Forums / Geek Stuff
Sudo Command with Launchy
(10 posts)Is this the one you are looking for: http://www.howtogeek.com/howto.....ows-vista/
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.
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:
Program: cmd
Arguments: /C "C:\Users\[UserName]\AppData\Local\Start++\CMDs\sudo.cmd" $$
Topic Closed
This topic has been closed to new replies. Please create a new topic instead.
