Batch file for network sharing?

5 pts.
Tags:
adapter
Batch
Network
Sharing
Is there a way I can create a batch file that turns on/off the network sharing feature on my Vista machine. I use my wireless network adapter to share the internet connection to my ethernet adapter to give my xbox internet for since I have not yet found a long enough ethernet and I'm not spending $100 for a xbox wireless kit. Thank you!

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Subhendu Sen
    net use command may help u. u can try as: net use /d * /y (for disable) and again try as: net use <driveletter>: "\<urservername><sharename><folder-path>" /p:y (for enable) try it as a dry run, if it works, then put them in a .bat file. OR u can use netsh interface conmmand to enable/disable the nic / adapter
    29,710 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following