If you want to disable or enable Wi-Fi interface, this can be done by commands in Administrative command prompt:
netsh interface set interface "Wi-Fi" disable
netsh interface set interface "Wi-Fi" enable
In this example, the interface name is Wi-Fi. You can check the name on your machine and replace it if need:
netsh interface show interface
You can make two *.cmd files to switch the Wi-Fi off or on. Some drawback is, these commands can be performed only in Admin mode, so you need to run them as Administrator (or set this mode in the properties of shortcut to a cmd file) and confirm it in UAC interface. After that, whether you will be connected automatically to a particular network after enabling the interface or not, depends on your network settings.