In c:/mydir have myapp.exe
I Need via .Bat to run myapp.exe as administrator.
Note.
Saved the .bat in the same dir of myapp.exe.
How to?
Run as administrator myapp.exe
-
- Administrator
- Posts: 12913
- Joined: 16 Jan 2010, 15:49
- Location: London, Europe
Re: Run as administrator myapp.exe
You could create a shortcut to the BAT file and set the shortcut properties to always run as Administrator
Navigate to C:/mydir in Windows Explorer
Right click the BAT file and choose copy
Right click on the background and paste shortcut
Right click the shortcut, click Advanced
Check the box "Run as administrator"
OK back out (twice).
Navigate to C:/mydir in Windows Explorer
Right click the BAT file and choose copy
Right click on the background and paste shortcut
Right click the shortcut, click Advanced
Check the box "Run as administrator"
OK back out (twice).
You do not have the required permissions to view the files attached to this post.
StuartR