Jump to content

help a noob with .bat

Pcinacan
Go to solution Solved by Pinguinsan,

No problem. Open up a text editor of your choice (notepad.exe works just fine). Copy and paste the following into notepad:

@echo off

@set fileName=output.txt
@echo int teredo > %fileName%
@echo set state disabled >> %fileName%
@echo int ipv6 >> %fileName%
@echo set teredo client >> %fileName%

netsh -f %fileName%

del /f %fileName%

Save as whatever-name-here.bat. Just make sure to end the file in .bat. Now, you can double click on it and it will execute. 

 

EDIT: Also, I forgot. netsh needs to be run as Administrator, so you need to right click on the .bat file and create a shortcut to it. Then, right click on the shortcut and select "Properties->Advanced" and check the "Run As Administrator" box, then you can double click on that shortcut.

So i want to make a .bat file to fix this teredo issue with xbox app on win 10. I found a fix that all you have to do is type a few things in and it fixes it.

I got it from here 

 

I was going to make a bat so i could send it to other people with the issue and just for me because every time i turn my pc back on i have to re type this. 

Can someone tell me to make it or just make it for me?

 

CPUFX 8320, Motherboard ASUS M5A78L-M/USB3 Socket AM3+ AMD, RAM g.skill ripjaws x series (2x8gb), GPUstrix gtx 970, Storage 500gb + 500gb + 250 ssd, PSU EVGA 600w B 80 PLUS BRONZE, Display(s) ASUS VG248QE 24"+ Hisense 24" + Vizio 24", Cooling Cooler Master Hyper 212 EVO, PC Part Picker  http://pcpartpicker.com/p/LFxQ23

 

Link to comment
Share on other sites

Link to post
Share on other sites

-snip-

 

CPUFX 8320, Motherboard ASUS M5A78L-M/USB3 Socket AM3+ AMD, RAM g.skill ripjaws x series (2x8gb), GPUstrix gtx 970, Storage 500gb + 500gb + 250 ssd, PSU EVGA 600w B 80 PLUS BRONZE, Display(s) ASUS VG248QE 24"+ Hisense 24" + Vizio 24", Cooling Cooler Master Hyper 212 EVO, PC Part Picker  http://pcpartpicker.com/p/LFxQ23

 

Link to comment
Share on other sites

Link to post
Share on other sites

No problem. Open up a text editor of your choice (notepad.exe works just fine). Copy and paste the following into notepad:

@echo off

@set fileName=output.txt
@echo int teredo > %fileName%
@echo set state disabled >> %fileName%
@echo int ipv6 >> %fileName%
@echo set teredo client >> %fileName%

netsh -f %fileName%

del /f %fileName%

Save as whatever-name-here.bat. Just make sure to end the file in .bat. Now, you can double click on it and it will execute. 

 

EDIT: Also, I forgot. netsh needs to be run as Administrator, so you need to right click on the .bat file and create a shortcut to it. Then, right click on the shortcut and select "Properties->Advanced" and check the "Run As Administrator" box, then you can double click on that shortcut.

Link to comment
Share on other sites

Link to post
Share on other sites

3 minutes ago, Pinguinsan said:

No problem. Open up a text editor of your choice (notepad.exe works just fine). Copy and paste the following into notepad:


@echo off

@set fileName=output.txt
@echo int teredo > %fileName%
@echo set state disabled >> %fileName%
@echo int ipv6 >> %fileName%
@echo set teredo client >> %fileName%

netsh -f %fileName%

del /f %fileName%

Save as whatever-name-here.bat. Just make sure to end the file in .bat. Now, you can double click on it and it will execute. 

 

thanks for the help

 

CPUFX 8320, Motherboard ASUS M5A78L-M/USB3 Socket AM3+ AMD, RAM g.skill ripjaws x series (2x8gb), GPUstrix gtx 970, Storage 500gb + 500gb + 250 ssd, PSU EVGA 600w B 80 PLUS BRONZE, Display(s) ASUS VG248QE 24"+ Hisense 24" + Vizio 24", Cooling Cooler Master Hyper 212 EVO, PC Part Picker  http://pcpartpicker.com/p/LFxQ23

 

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, Pinguinsan said:

No problem, but see my edit.

got it 

 

CPUFX 8320, Motherboard ASUS M5A78L-M/USB3 Socket AM3+ AMD, RAM g.skill ripjaws x series (2x8gb), GPUstrix gtx 970, Storage 500gb + 500gb + 250 ssd, PSU EVGA 600w B 80 PLUS BRONZE, Display(s) ASUS VG248QE 24"+ Hisense 24" + Vizio 24", Cooling Cooler Master Hyper 212 EVO, PC Part Picker  http://pcpartpicker.com/p/LFxQ23

 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×