The following code for connect and disconnect VPNs works well in the batch file (.bat). Can I use this code in .vbs? Is there an equivalent for it?
ipconfig|find/i "VPNconnection" && rasdial VPNconnection /disconnect || rasdial VPNconnection
The following code for connect and disconnect VPNs works well in the batch file (.bat). Can I use this code in .vbs? Is there an equivalent for it?
ipconfig|find/i "VPNconnection" && rasdial VPNconnection /disconnect || rasdial VPNconnection
Comments
Post a Comment