Associate Batch File

April 27, 2009 at 07:10:42
Specs: Windows XP, Intel Dual Core
Hi,
Made a dumb mistake. Un-associated file type
BAT in folder options/file types menu. Now i
need to put it back so that when i double click
the file it runs the batch file in the dos window.
Can't figure it out. I'm sure it's simple but can't
for the life of me figure it out. Any help would
be GREATLY appreciated.
Thanks,
e

Emilio Silva


See More: Associate Batch File

Report •


#1
April 27, 2009 at 07:24:10
never mind. found it! in case anyone is interested, found the
registry fix here:
http://www.dougknox.com/xp/file_ass...

Emilio Silva


Report •

#2
April 27, 2009 at 07:36:39
If you are interested there is also a gui fix.

Quote from one of my older posts:

"Here's how to edit them, goto Control panel>Folder options>File types. Hit the new button type in bat or cmd and hit the advanced button. The associated file type should load up to "MS-Dos batch file" for bat and "Windows NT command script" for cmd, if they are not automatically selected, select them from the drop down list and click on ok. If you don't hit the advanced button you will get an error that the file type is already in use."


Report •

#3
April 27, 2009 at 08:24:27
Here's a rocket science quiz for you. How do you associate a file without an extension.


=====================================
If at first you don't succeed, you're about average.

M2


Report •

Related Solutions

#4
April 27, 2009 at 15:36:11
Hi M2,

The trick mentioned above works with files with no extension by specifying a dot as the file extension(one dot in the text box, nothing more), then selecting from the drop down list. This works because apparently files with no extension really have an invisible/hidden file extension of a single dot.

For third party programs first something from the list needs to be selected and saved before being reopened and clicking change.

There are reg fixes out there as well, can't remember the keys of hand.

Of course I tested all this on xp, not so sure it will all work the same on win2k.


Report •

#5
April 27, 2009 at 18:15:51
Hi Judago,

Thanks for that. I'd set the noext file type many moons ago and then forgot how. LOL

With recent hardware changes I had to muddle through it again. Surprisingly, a single apostrophe seems OK. Beats me why.


=====================================
If at first you don't succeed, you're about average.

M2


Report •


Ask Question