Re: help = can't edit hosts file because it won't let me pick a program.
Not sure where I got this from, so thank them if you run across them
somewhere.
_________ COPY below including blanks at end
REGEDIT4
[HKEY_CLASSES_ROOT\.]
@="file01"
[HKEY_CLASSES_ROOT\file01]
@="No Extension"
"EditFlags"=hex:00,00,00,00
[HKEY_CLASSES_ROOT\file01\Shell]
@=""
[HKEY_CLASSES_ROOT\file01\Shell\Open]
[HKEY_CLASSES_ROOT\file01\Shell\Open\command]
@="C:\\WINDOWS\\Notepad.exe %1"
______Copy above to an editor and give it a *.reg extension, run/install to
the registry.
Change the above *@=C:\\{path}* to the full path to what ever you want to
use.
There is a dot at the end, that's what this uses to assign the *no
extension* to the editor of your choice.
--
MEB
http://peoplescounsel.orgfree.com
--
_________
"SlickRCBD" <spamyourself@127.0.0.1> wrote in message
news:x_WdnYqI24O-XH3anZ2dnUVZ_oHinZ2d@comcast.com...
| MEB wrote:
|
| > "SlickRCBD" <spamyourself@127.0.0.1> wrote in message
| > news:NLqdnTNtfsdZn33anZ2dnUVZ_vamnZ2d@comcast.com...
| > | I've just had something weird pop up. I tried to edit my hosts file,
but
| > | instead of being asked what program I want to use to open it with, I
got
| > | a dialog box telling me "This file does not have a program associated
| > | with it for performing this action. Create an association in My
Computer
| > | by clicking View and then clicking Folder Options".
| > |
| > | Something in the registry is probably messed up, how do I fix it so
that
| > | it goes back to giving me a list of programs so I can click on
notepad?
| >
| > The HOSTS once created, has no extension. windows does, and likely you
have
| > or the programs have, configured files to have extensions, and what
program
| > is configured to work with it. Right click on the file and choose the
editor
| > you want to handle files with no extensions. Make sure it is a text
editor
| > NOT a full featured editor..
| >
| For years, I've been double-clicking on my "hosts" file or an alias I
| have on the desktop. After doing that, windows pops up with a dialog box
| asking me what program I want to use to open the file.
|
| Suddenly yesterday, when I double-clicked on the file, instead of
| telling me it doesn't have an association and asking me to pick a
| program, I'm presented with a dialog box that says "This file doesn not
| have a program associated with it for performing this action. Create an
| association in My Computer by clicking "View" and then clicking "Folder
| Options".
|
| How do I make it go back to automatically showing me the list of
| programs when I doule-click on the shortcut on the desktop, or the
| original file in the C:\windows folder?
|
| I'm aware of the problem of not having an extension, I just want to make
| it go back to working the way it did before.