0

I am trying to open an extenal program that requires me to open this program as administrator.

I am using these two lines to open external program, but the program is executed without administrator privileges.

How i can execute it with the correct rights?

Runtime run  = Runtime.getRuntime(); 
Process proc = run.exec(locationOfProgram); 
Zabuzard
  • 25,064
  • 8
  • 58
  • 82
matan
  • 97
  • 13

0 Answers0