Hi Patricia
Yes, I meant you should edit the keys and import them. While you can
do the first and third manually in Regedit, the second is difficult as
you must create a new key.
No, you problem is not only that you have "txtfile" in that key but
..log is pointing to a key that doesn't suit what you want.
This is how I did it: (a combination of all three keys in one .reg
file)
Make up a file from the lines below. Copy into a file called fix.reg
which should be created in Notepad. Do not retype, copy in case of
errors. The 1st line in the file is the line REGEDIT4
Make sure your mail or news reader does not add any spaces to the end
of a line.
The last line must be blank.
Right-click fix.reg and select Merge.
-----copy below this line fix.reg------------
REGEDIT4
[HKEY_CLASSES_ROOT\.LOG]
@="logfile"
[HKEY_CLASSES_ROOT\.LOG\PersistentHandler]
@="{5e941d80-bf96-11cd-b579-08002b30bfeb}"
[HKEY_CLASSES_ROOT\logfile]
@="Log File"
"FriendlyTypeName"=hex(2):40,25,53,79,73,74,65,6d,52,6f,6f,74,25,5c,73,79,73,\
74,65,6d,33,32,5c,6e,6f,74,65,70,61,64,2e,65,78,65,2c,2d,34,36,39,00
"EditFlags"=dword:00010000
[HKEY_CLASSES_ROOT\logfile\DefaultIcon]
@=hex(2):25,53,79,73,74,65,6d,52,6f,6f,74,25,5c,73,79,73,74,65,6d,33,32,5c,73,\
68,65,6c,6c,33,32,2e,64,6c,6c,2c,2d,31,35,32,00
[HKEY_CLASSES_ROOT\logfile\shell]
[HKEY_CLASSES_ROOT\logfile\shell\open]
[HKEY_CLASSES_ROOT\logfile\shell\open\command]
@=hex(2):25,53,79,73,74,65,6d,52,6f,6f,74,25,5c,73,79,73,74,65,6d,33,32,5c,4e,\
4f,54,45,50,41,44,2e,45,58,45,20,25,31,00
[HKEY_CLASSES_ROOT\logfile\shell\print]
[HKEY_CLASSES_ROOT\logfile\shell\print\command]
@=hex(2):25,53,79,73,74,65,6d,52,6f,6f,74,25,5c,73,79,73,74,65,6d,33,32,5c,4e,\
4f,54,45,50,41,44,2e,45,58,45,20,2f,70,20,25,31,00
[HKEY_CLASSES_ROOT\logfile\shell\printto]
[HKEY_CLASSES_ROOT\logfile\shell\printto\command]
@=hex(2):25,53,79,73,74,65,6d,52,6f,6f,74,25,5c,73,79,73,74,65,6d,33,32,5c,6e,\
6f,74,65,70,61,64,2e,65,78,65,20,2f,70,74,20,22,25,31,22,20,22,25,32,22,20,\
22,25,33,22,20,22,25,34,22,00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.LOG]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.LOG\OpenWithList]
"a"="NOTEPAD.EXE"
"MRUList"="a"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.LOG\OpenWithProgids]
"logfile"=hex(0):
\\Create a separate association for LOG files still using Notepad
---- end file above here
Yes, a good trip, thank you.
(Though I only went to civilization)
....Alan
--
Alan Edwards, MS MVP Windows - Internet Explorer
http://dts-l.com/index.htm
I have a little experience with updating the registry. I do so as seldom as
possible!
I have exported these three keys.
When you say to then import them, do you mean I should modify the exported
files, then import them, instead of doing the update in regedit?
Is my problem that
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.LOG]
show "txtfile" under "OpenWithProgids"?
I hope you had a good trip.
Thank you,
Patricia
Patricia Shannon said:
I am using Windows XP Professional at work.
I want to be able to sort by file extension.
In Windows Explorer, I have .log files that show the "Type" to be "Text
Document".
So when I sort by "Type", it sorts the .log and .txt files together.
In the Folders option of Control Panel, I deleted the LOG type (I couldn't
find a way to change the file type), then added it back, w/o choosing a file
type.
So, the file type is shown as "LOG File", which is what I want.
It is set to open with Notepad.
However, in Windows Explorer, it still shows the "type" for these files to
be "Text Document", and sorts them in with .txt files.
I even did a restart of my computer.
I'm sure that sorting by "Type" used to sort by file extension.