I want to use netsh command through java . Netsh works only in cmd administartor mode . How to use netsh in cmd in administartor mode through java and make adhoc network via command mode.
Asked
Active
Viewed 78 times
1 Answers
1
Have you tried elevate.exe? Go through this blog Johannes Passing's Blog

Tejas Unnikrishnan
- 518
- 4
- 12
-
Alternatively go through this -> http://stackoverflow.com/questions/1385866/java-run-as-administrator – Tejas Unnikrishnan Apr 10 '15 at 14:53