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!
Software/Hardware used:
ASKED:
November 10, 2011 4:37 AM
UPDATED:
November 10, 2011 5:04 AM
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