WIN7 enables/disables the implementation of wireless network cards through batch processing

  
1. See if your computer has devcon.exe. You can search directly under the SYSTEM32 folder in the WINDOWS directory, or you can use the command line RUN-----------CMD------ -DEVCON? to detect, if not, download it from Microsoft's website (http://download.microsoft.com/download/1/1/f/11f7dd10-272d-4cd2-896f-9ce67f3e0240/devcon.exe) Below the system32 directory. 2, check the network card ID: select the computer icon on the desktop ----------- click the right mouse button ------------ select the management menu --------- ---Select Device Manager----------Select the wireless network card you want to operate-------Click the right button ------------Select Properties--- -----------Select Details Tab----------------- Select the hardware ID in the list and record this ID. 3, write the batch file: create a new notebook on the desktop --------------- change the file name to XXX.bat (note the suffix named bat is not TXT) ------ select The file ------- right click ----------- select edit -------------- copy the content: disable the network card .bat @echo off ; Disable the wireless network card, replace the contents between the two * numbers with the network card ID devcon disable *PCI/VEN_14E4&DEV_4365&CC_0280*; enable the wireless network card, replace the contents between the two * numbers with the network card ID; devcon enable * PCI/VEN_14E4&DEV_4365&CC_0280* echo on Enable NIC.bat @echo off; disable wireless network card, replace the content between two * numbers with network card ID; devcon disable *PCI/VEN_14E4&DEV_4365&CC_0280*; enable wireless NIC, replace the content between the two * with the NIC ID devcon enable *PCI/VEN_14E4&DEV_4365&CC_0280* echo on Save and close, run.
Copyright © Windows knowledge All Rights Reserved