HELP!! I changed my BAT file association and can't get it back

newWin7User

New member
Local time
11:00 AM
Messages
3
Ok, I did something silly.

This is windows 7

I went to

Control panel->Default programs->Associate a file type with a program

and changed the association to file .BAT to explore.exe (do not ask me, long story).

Now, when I click on a bat file with the mouse, the whole desktop starts shaking. I think it goes into a loop.

The problem, when I go back to

Control panel->Default programs->Associate a file type with a program

The extension .BAT is no longer there! It is gone.

And when I examine the file property of some .bat file, there is no option to change what to open it with. There is no open with... only OPEN option.

There is also no way to add a new file extension in Control panel->Default programs->Associate a file type. I can't add .bat again.

I did

Control panel->Default programs->Set progream access and computer defaults

but still the .bat file association is broken, and when I double click on it, same thing happens.

Strange thing, is that initially, the program associated with .BAT was unknown.

What do I do to get things to the way it was?

Now when I right click on a .BAT file from exploer, I also do not see the EDIT option any more.

<SILLY_ME_NEEDS_URGENT_HELP>:(
 

My Computer My Computer

At a glance

windows 7
OS
windows 7
Ok, I did something silly.

This is windows 7

I went to

Control panel->Default programs->Associate a file type with a program

and changed the association to file .BAT to explore.exe (do not ask me, long story).

Now, when I click on a bat file with the mouse, the whole desktop starts shaking. I think it goes into a loop.

The problem, when I go back to

Control panel->Default programs->Associate a file type with a program

The extension .BAT is no longer there! It is gone.

And when I examine the file property of some .bat file, there is no option to change what to open it with. There is no open with... only OPEN option.

There is also no way to add a new file extension in Control panel->Default programs->Associate a file type. I can't add .bat again.

I did

Control panel->Default programs->Set progream access and computer defaults

but still the .bat file association is broken, and when I double click on it, same thing happens.

Strange thing, is that initially, the program associated with .BAT was unknown.

What do I do to get things to the way it was?

Now when I right click on a .BAT file from exploer, I also do not see the EDIT option any more.

<SILLY_ME_NEEDS_URGENT_HELP>:(

I think this can be solved with a simple system restore: http://www.sevenforums.com/tutorials/700-system-restore.html
This should work; post back with any results.

Oli
 

My Computer My Computer

At a glance

Windows 7 Profesional x86, Mac OS X 10.6 Snow...Intel Core 2 Duo 2.4Ghz4GB DDR3Nvidia 9400m
Computer Manufacturer/Model Number
Apple MacBook 5,1
OS
Windows 7 Profesional x86, Mac OS X 10.6 Snow Leopard
CPU
Intel Core 2 Duo 2.4Ghz
Memory
4GB DDR3
Graphics Card(s)
Nvidia 9400m
Monitor(s) Displays
13.3" Internal + 22" DVI + 21.5" USB
Screen Resolution
1280x800 + 1920x1080 + 1920x1080
Hard Drives
Internal SATA 2.5" 500GB (395GB Mac HFS+, 105GB Windows NTFS)
2.48TB RAID consisting of 5 disks (HFS+)
Case
Aluminium Unibody
Keyboard
Apple Late 2009 Wireless Keyboard (US)
Mouse
Apple Magic Mouse
Internet Speed
6.33Mb/s up. 0.36Mb/s down.
Other Info
Harman Kardon Soundsticks II Speakers
Found a solution !! :D

I forgot about regedit, so I went to regedit, searched for .bat,
Found it, and found some entries associated, which was telling windows what to do with this file.

So, I deleted all of these entries,

Now it is working as before.

<ALL_OK>
 

My Computer My Computer

At a glance

windows 7
OS
windows 7
Good to know, thanks for sharing the solution.

Oli
 

My Computer My Computer

At a glance

Windows 7 Profesional x86, Mac OS X 10.6 Snow...Intel Core 2 Duo 2.4Ghz4GB DDR3Nvidia 9400m
Computer Manufacturer/Model Number
Apple MacBook 5,1
OS
Windows 7 Profesional x86, Mac OS X 10.6 Snow Leopard
CPU
Intel Core 2 Duo 2.4Ghz
Memory
4GB DDR3
Graphics Card(s)
Nvidia 9400m
Monitor(s) Displays
13.3" Internal + 22" DVI + 21.5" USB
Screen Resolution
1280x800 + 1920x1080 + 1920x1080
Hard Drives
Internal SATA 2.5" 500GB (395GB Mac HFS+, 105GB Windows NTFS)
2.48TB RAID consisting of 5 disks (HFS+)
Case
Aluminium Unibody
Keyboard
Apple Late 2009 Wireless Keyboard (US)
Mouse
Apple Magic Mouse
Internet Speed
6.33Mb/s up. 0.36Mb/s down.
Other Info
Harman Kardon Soundsticks II Speakers
Hope you set a restore point before editing the registry. Watch for unintended consequences.

The correct solution was to SysRestore as Osholt suggested.
 
Hope you set a restore point before editing the registry. Watch for unintended consequences.

The correct solution was to SysRestore as Osholt suggested.

I am sure you and also Osholt are correct, but i am a newbie, and I do not know even know how to do a sysResotre.

I made sure I had my fingers crossed when I was deleting those entries in the registry for the .BAT extension.

I like windows 7 now much more once I found and downloaded explorer++, before that I really was going to go back to XP, because I disliked the file manager that comes with windows 7, but now, I am happy using explorer++. It is so neat.

newWinUser
 

My Computer My Computer

At a glance

windows 7
OS
windows 7
Back
Top