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
  • 23,461
  • 7
  • 54
  • 77
matan
  • 99
  • 9

0 Answers0