josh Posted October 5, 2010 Report Share Posted October 5, 2010 Hi, This is another simple command i use with Ketarin. It took me trouble to find this one :-) It's called elevate and it's bundled with NirCmd, read this post to know more about this tool. Syntax: elevate [Program] {Command-Line Parameters} For Windows Vista/7/2008 only: Run a program with administrator rights. When the [Program] contains one or more space characters, you must put it in quotes. Examples: elevate notepad.exe elevate notepad.exe C:\Windows\System32\Drivers\etc\HOSTS elevate "c:\program files\my software\abc.exe" Using elevate with Ketarin (UAC will prompt you to accept or deny): nircmd elevate cmd /c copy /y "{file}" "%ProgramFiles%" Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now