I have a problem. You know those little batch files (.bat's) that are handy for renaming a bunch of files, or deleting them? Well, i use them from time to time - but all of a sudden, windows started asking me what to open a .bat file with! I looked all in the programs list and found nothing that said "MS-DOS prmpt" or anything. Please help me, i really need to use some .bat files!
What about just running them from the comand prompt?
It won't say MS-DOS prompt anywhere. Tell it to use cmd.exe to open the file. I think it is under Cwindows/system32, do a file search for it to make sure though.
Nope, already tried that Folken. It just opens a blank promt when i have it open like that. Here is a little screenshot of what is happening if you are still unclear:
<A HREF="http://img97.exs.cx/img97/9085/run9hb.jpg" target="_new">http://img97.exs.cx/img97/9085/run9hb.jpg</A><P ID="edit"><FONT SIZE=-1><EM>Edited by Cody_7 on 01/12/05 11:23 PM.</EM></FONT></P>
Fire up regedit and see what your you have under .bat.
You can try cuting and pasting that into a text file then renaming it to .reg and clicking on it.
BTW I just deleted the entry for .bat and I got the same problem as you. Running the .reg script fixed it.
A bigger question is what happened to corrupt your registry!!! (if indeed this is what is wrong).<P ID="edit"><FONT SIZE=-1><EM>Edited by Codesmith on 01/15/05 00:28 AM.</EM></FONT></P>
Go to Control Panel - Folder Options - File Types - New - type BAT for Extension, click Advanced - In the drop down menu there is an "MS-DOS Batch File" selection.
By default the BAT extension isn't listed, but you can hard code it in. It's an association that I guess really isn't list becuase DOS technically doesn't exist on that OS.
You are about to answer a thread that has been inactive for more than 6 months. If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.