need help with bat file problem

casper1973

Distinguished
Dec 30, 2012
942
0
19,360
Sounds like you have changed the file association of .bat files.

Try this fix found on another site.
_______________________________________________

Open regedit and navigate to the key you see here.

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.BAT\UserChoice

Delete the key named "user choice"

 

battle309

Honorable
Apr 20, 2012
50
0
10,630


there isn't a key called user choice and i can run .bat files just it wont let me run new .bat files.

its ignoring new bat files and using the one in image - http://puu.sh/7I90h.png

if open any bat files i get that in the image

 

xcrossroadsx

Distinguished
Dec 13, 2011
247
1
18,860
Quick check, this shouldn't have happened, but it is a small possibility:
check HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\ and look to see if there is a cmd.exe key there. If there is, delete it.
 

battle309

Honorable
Apr 20, 2012
50
0
10,630


no there isn't a cmd.exe in there

its like i cant change the command for the .bat its keep opening a .bat file i have opened ages ago

its not looking at new .bat files i open