Or what is the command?
Give everyone a great god can help best to the code
Thank you very much!!!!!!
CodePudding user response:
What do you mean? Network communication you want to do? TCP/IP available winsock control (that is, can do chat software), FTP available API,CodePudding user response:
The following batch is for reference only:if "% 1"=="l" goto l
If "% 1"=="w" goto w
Echo network address switch batch
Echo setip l - switch to the local connection
Echo setip w - switch to the wireless network connection
Goto e
: l
Echo switch from static IP wireless network to the wired network static IP:
Netsh interface IP set the DHCP address wireless network connection
Netsh interface DHCP IP set the DNS wireless network connection
Netsh interface IP set address local connection static 192.168.1.111 255.255.252.0 192.168.2.1 1
Netsh interface IP set DNS local connection static 202.106.196.115
Goto e
: w
Echo from static IP switch to the wired network infinite network static IP:
Netsh interface IP set address local connection DHCP
Netsh interface IP set DNS local connection DHCP
Netsh interface IP set static address wireless network connection 192.168.1.5 255.255.255.0 192.168.1.1 1
Netsh interface IP set DNS wireless network connection static 211.97.168.129
Goto e
E
CodePudding user response:
With URLDownloadToFile API function, you can downloadCodePudding user response:
I want to use vb6 is control computer network connect and disconnectIs not a network communication
CodePudding user response: