auto input password in batchfile/cmd file
问题 I have this code to make and run an access point: runas /User:Administrator cmd netsh wlan set hostednetwork mode=allow ssid=private_wifi key=123456789 netsh wlan start hostednetwork pause My question is: Can I make auto input of password to only double click on file without other actions? 回答1: You could use alternative data streams to provide the password. 1) create and save your batch file 2) use the ECHO command to 'place' your password into an ADS attached to your batch file 3) use