hi,
i wanted to build a simple
java desktop app where on button click event, some lines of code execute in windows Command Prompt and display the output in a textbox.
I have to run commands as below in administrative privilage and display the output message in a textbox.
netsh wlan set hostednetwork mode=allow ssid=NAME key=PASSWORDis@HARDTOBREAK;
netsh wlan start hostednetwork
I have saved this code in a start.bat file.
i have tried
i have also tried
,,,, but it also doesn't work.