Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Make shortcut "Run as Admin"
#1
Hi Gintaras,
I know how to add the "run as admin" argument to a run command but how do I add that to a shortcut link e.g. using CreateShortcut

What I mean is that in Windows you can right click on a shortcut and it gives you the "run as admin" option but don't know how to set that up programatically.

Alternatively, I could just make the shortcut go to a little executable that run's the real target with the run as admin flag but a direct way would be more elegant.


Code:
Copy      Help
run "$program files$\RadFusion\SampleApp.exe" "" "" "" 0x10000


Thanks,
Stuart


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)