我总是使用命令提示符运行命令,并以管理员身份运行。
netsh wlan stop hostednetwork
enter
netsh wlan start hostednetwork
enter
所以请问我如何制作我只需单击的数据文件,此命令行将自动与管理员一起运行
答案 0 :(得分:0)
Create files on your computer such as DONETSTOP.bat and DONETSTART.bat
Create a shortcut to each of them on your desktop
Select one of the shortcuts
Press Alt-Enter Choose the "Advanced" button
Check the "Run as administrator" checkbox
Do this for the other shortcut
Double click on either of these shortcuts to run them.