Win7 Hosting network Settings Bat script implementation

Source: Internet
Author: User
Tags hosting

In a blink of an eye to 51, is still a few days, the morning to see the NBA, night to see the snooker, very comfortable truly, saying that the problem is life encountered, today is a deep experience, the morning to see the NBA accidentally found mobile phone look than with the computer to be much faster, because the router is always not too stable, So decided to use a notebook to divide the net to try, I believe this trick a lot of people have played it, the problem is found, although the problem is two or three lines of code, but still surf the internet to find a lot of tutorials, and even re-read the next Win7 bearer network related things, said also skillfully, Afternoon just saw a Daniel's bat study log, a moment the rise decided to write bat script on the desktop convenient later, sure enough, the internet a lot of people have done the same thing, a lot of various scripts, various forum blog Many countless, I want to idle is idle, also is learning the bat script, To write a self-made, to leave a backup after the need to find out to see, gossip about here, directly on the code, a lot of things are learn from and learning, I added the code to get administrator rights, and other do not have to carefully explain, I believe that spectators can understand, to use the direct attachment bar, code simple, more practical , by the way to leave a small problem, do not know who can help to solve the problem is the first allow hostednetwork after the creation of Hostednetwork fill in the Network name and password need to manually to the network and Sharing Center allows wired network through hostednetwork sharing , this process still need to click on the mouse to complete, do not know which tall person can be in the bat script to solve the problem, directly run a script on how beautiful, right?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.