Peter
Peter

Reputation: 38495

C# Creating admin shortcut

I found this article but it does not contain support for run as admin..

Well i need to create a shortcut to notepad to edit a xml file, but i need notepad to run as administrator, how would i go about to do that?

Upvotes: 3

Views: 797

Answers (2)

svick
svick

Reputation: 244837

Take a look at the first result of Google search:

Make shortcut always run as administrator .

Upvotes: 1

Peter
Peter

Reputation: 38495

I didn't find any good solution to this... so i created a simple .net app that required admin rights and used that one to start notepad..

Upvotes: 0

Related Questions