Tech Support > Microsoft Windows > How to change file-association for TXT files?
How to change file-association for TXT files?
Posted by V S Rawat on February 18th, 2006


It is not allowing me to change file association for TXT files.

If I choose a different program to open txt files in "open
with", that does not stick.

In folder options also, I am not allowed to change nor delete
the association of TXT with notepad.

It is as sick as was opening html files with ie in some previous
version.

Has anyone come across how to overcome it.

Please share it with me. I want metapad to be used for txt files.

--

Posted by kewin on February 18th, 2006


I got the same problem when my new application had the
same file name (notepad.exe) as the old one.

Try to rename the exe file to something else. Or maybe
try TED Notepad, a bit better than the older Metapad:
http://jsimlo.sk/notepad/

I have no such problem with it.

Hope that helped,
Kew


Posted by Alan on February 18th, 2006


Try Notepad+. http://www.mypeecee.org/rogsoft
It replaces the current one using your existing shortcuts and has loads more
features.


"kewin" <kewin_s@yahoo.com> wrote in message
news:1140283554.340077.131890@g47g2000cwa.googlegr oups.com...


Posted by WTC on February 18th, 2006


"V S Rawat" <VSRawat@Invalid.none> wrote in message
news:xn0eimxc78y0ns003@xananews...
Windows® XP File Association Fixes
http://www.dougknox.com/xp/file_assoc.htm

Download and run the "TXT File Association Fix"

--
William Crawford
MS-MVP Windows Shell/User



Posted by Keith Miller MVP on February 19th, 2006


Do you have admin permissions?

Is there an entry for metapad here:

"HKEY_CLASSES_ROOT\Applications"

if it exists, make sure it doesn't have a value named "NoOpenWith"

if it doesn't, create an entry similar to this:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Applications\metapad.exe]

[HKEY_CLASSES_ROOT\Applications\metapad.exe\shell]

[HKEY_CLASSES_ROOT\Applications\metapad.exe\shell\o pen]

[HKEY_CLASSES_ROOT\Applications\metapad.exe\shell\o pen\command]
@="\"C:\\Program Files\\Metapad\\metapad.exe\" \"%1\""

The extra slashes & quotes in the last entry is because the above is copied from a reg export. If
you edit the registry directly, it should look like:

"C:\Program Files\Metapad\metapad.exe" "%1"

Then try Open with -> 'always use this file...' again


--
Good Luck,

Keith
Microsoft MVP [Windows XP Shell/User]


"V S Rawat" <VSRawat@Invalid.none> wrote in message news:xn0eimxc78y0ns003@xananews...

Posted by V S Rawat on February 19th, 2006


Keith Miller MVP wrote:

The following entry is there. It does not have "NoOpenWith".

HKEY_CLASSES_ROOT\Applications\metapad.exe\shell\o pen\command =
"D:\install\metapad.exe" "%1"

created. didn't work.


oh. mea culpa. now, did like above. didn't work.

metapad was not even appearing in the list of programs.

anything more?
--

Posted by V S Rawat on February 19th, 2006


WTC wrote:

Thanks, but it did not work.

I downloaded, extracted and merged the thing into my xp
registry, however, the txt files are still getting opened with
notepad.exe.

Any more?
--
Rawat

--


Posted by V S Rawat on February 19th, 2006


kewin wrote:

I had done that sometime ago, but AFAIR, it was restoring
original notepad.exe from some backup.

downloaded 4.5.1 beta, and joined its yahoogroups. Shall see.

thanks.

--
Rawat

Posted by Keith Miller MVP on February 19th, 2006


Have you used the 'Browse' button in the 'Open File With' dialog?

Have you got this entry in the registry:

"HKCU\Software\Microsoft\Windows\CurrentVersion\Ex plorer\FileExts\.txt"

Value Name: Application
Type: REG_SZ
Data: metapad.exe


--
Good Luck,

Keith
Microsoft MVP [Windows XP Shell/User]


"V S Rawat" <VSRawat@Invalid.none> wrote in message news:xn0einyf41dd6x001@xananews...


Similar Posts