Jump to content

Can't open any .bat file?

 

Try writing this in notepad, and saving it as a .bat:

 

echo "Test"

pause

Blue Jay

CPU: Intel Core i7 6700k (OC'd 4.4GHz) Cooler: CM Hyper 212 Evo Mobo: MSI Z170A Gaming Pro Carbon GPU: EVGA GTX 950 SSC RAM: Crucial Ballistix Sport 8GB (1x8GB) SSD: Samsung 850 EVO 250 GB HDD: Seagate Barracuda 1TB Case: NZXT S340 Black/Blue PSU: Corsair CX430M

 

Other Stuff

Monitor: Acer H236HL BID Mouse: Logitech G502 Proteus Spectrum Keyboard: I don't even know Mouse Pad: SteelSeries QcK Headset: Turtle Beach X12

 

GitHub

Link to comment
https://linustechtips.com/topic/395418-cant-run-bat-files/#findComment-5335325
Share on other sites

Link to post
Share on other sites

yah I can open command prompt everything else works fine

Have you tried opening up multiple ones?

Go into notepad and type:

echo TEST
pause
and save it as test.bat [make sure the file type says all files]
Double click it and see if it works.

Happy to help with any tech problems. Windows 10 installing guide here.
----i5 4570s----gigabyte z97x-sli----8gb ddr3----gigabyte g1 gaming 960----HAF 912----120gb ssd----1tb hdd----500w evga----

Link to comment
https://linustechtips.com/topic/395418-cant-run-bat-files/#findComment-5335336
Share on other sites

Link to post
Share on other sites

 

Have you tried opening up multiple ones?

Go into notepad and type:

echo TEST
pause
and save it as test.bat [make sure the file type says all files]
Double click it and see if it works.

 

if i do that it just opens it in notepad anyway for example if i try and open the heaven 4.0 benchmark it just opens up this in not pad:

 

@Echo off
cd %~dp0/bin
start browser_x86.exe -config ../data/launcher/launcher.xml
Link to comment
https://linustechtips.com/topic/395418-cant-run-bat-files/#findComment-5339470
Share on other sites

Link to post
Share on other sites

i figured out that i can open them if i run them in administrator

That's awkward, they don't need admin privlages. I think it could be a file association problem, which is out of my league.

Happy to help with any tech problems. Windows 10 installing guide here.
----i5 4570s----gigabyte z97x-sli----8gb ddr3----gigabyte g1 gaming 960----HAF 912----120gb ssd----1tb hdd----500w evga----

Link to comment
https://linustechtips.com/topic/395418-cant-run-bat-files/#findComment-5341659
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

×