Text files won't open with Notepad

G

George

In fact, can't get anything to open with Notepad.
Have to use Wordpad instead.

Notepad will open buy itself.

This is probably a silly problem.

Thanx anyone.
 
W

Will Denny

Hi

Right click on a Text file in Windows Explorer and select Open With>Choose
Program. On the next screen select Notepad and make sure that 'Always use
the selected program to open this kind of file' at the bottom of the screen
is enabled.

--

Will Denny
MS-MVP Windows - Shell/User
Please reply to the News Groups


| In fact, can't get anything to open with Notepad.
| Have to use Wordpad instead.
|
| Notepad will open buy itself.
|
| This is probably a silly problem.
|
| Thanx anyone.
|
|
 
A

Arkadiusz 'Black Fox' Artyszuk

George said:
In fact, can't get anything to open with Notepad.
Have to use Wordpad instead. Notepad will open buy itself.

Check/correct registry entries:

HKEY_CLASSES_ROOT\.txt
default=txtfile

HKEY_CLASSES_ROOT\txtfile\shell\open\command
default=%SystemRoot%\system32\NOTEPAD.EXE %1
 
G

George

George said:
In fact, can't get anything to open with Notepad.
Have to use Wordpad instead.

Notepad will open buy itself.

This is probably a silly problem.

Thanx anyone.
 
J

Jim Macklin

Find any text file in Windows Explorer and right click on
it. Select "open with" and then find Notepad on the list.
Be sure that the little checkbox is checked, "always open
with" and click OK. This will re-associate all text files
with Notepad.


--
The people think the Constitution protects their rights;
But government sees it as an obstacle to be overcome.


|
| | > In fact, can't get anything to open with Notepad.
| > Have to use Wordpad instead.
| >
| > Notepad will open buy itself.
| >
| > This is probably a silly problem.
| >
| > Thanx anyone.
| >
| >
|
|
 
J

Jim Macklin

Do you have any other settings on other programs that are
also opening txt files.
Open Windows Explorer/Tools/folder options/view and see what
you can do there.


| Tried that, again and again, it just won't open, got me
bamboozled!! lol
|
|
in message
| | > Find any text file in Windows Explorer and right click
on
| > it. Select "open with" and then find Notepad on the
list.
| > Be sure that the little checkbox is checked, "always
open
| > with" and click OK. This will re-associate all text
files
| > with Notepad.
| >
| >
| > --
| > The people think the Constitution protects their rights;
| > But government sees it as an obstacle to be overcome.
| >
| >
| > | > |
| > | | > | > In fact, can't get anything to open with Notepad.
| > | > Have to use Wordpad instead.
| > | >
| > | > Notepad will open buy itself.
| > | >
| > | > This is probably a silly problem.
| > | >
| > | > Thanx anyone.
| > | >
| > | >
| > |
| > |
| >
| >
|
|
 
D

David Candy

Lets find out the reason. I hate typing this.

Type regedit in Start Run. Select each of the following keys, right click, Export, then insert here.

HKEY_CLASSES_ROOT\.txt
(note the default value of the above key)
HKEY_CLASSES_ROOT\<default value from above)
HKEY_CLASSES_ROOT\txtfile
HKEY_CLASSES_ROOT\.txt
HKEY_CLASSES_ROOT\SystemFileAssociations\.txt (shouldn't exist)
HKEY_CLASSES_ROOT\SystemFileAssociations\text
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt
 
G

George

I hope I get this right. I hope this is what you wanted, I don't understand it.

HKEY_CLASSES_ROOT\.txt (Default) REF_SZ (txtfile)
(note the default value of the above key)

HKEY_CLASSES_ROOT\<default value from above) (Default) REF_SZ (value not set)


HKEY_CLASSES_ROOT\txtfile
Key Name: HKEY_CLASSES_ROOT\txtfile
Class Name: <NO CLASS>
Last Write Time: 11/06/2004 - 4:57 PM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data: Text Document
Value 1
Name: FriendlyTypeName
Type: REG_EXPAND_SZ
Data: @%SystemRoot%\system32\notepad.exe,-469
Value 2
Name: EditFlags
Type: REG_DWORD
Data: 0x10000
Value 3
Name: BrowserFlags
Type: REG_DWORD
Data: 0x8

Key Name: HKEY_CLASSES_ROOT\txtfile\DefaultIcon
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 9:31 PM
Value 0
Name: <NO NAME>
Type: REG_EXPAND_SZ
Data: %SystemRoot%\system32\shell32.dll,-152

Key Name: HKEY_CLASSES_ROOT\txtfile\shell
Class Name: <NO CLASS>
Last Write Time: 11/06/2004 - 4:57 PM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data:

Key Name: HKEY_CLASSES_ROOT\txtfile\shell\open
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 9:31 PM
Key Name: HKEY_CLASSES_ROOT\txtfile\shell\open\command
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 9:31 PM
Value 0
Name: <NO NAME>
Type: REG_EXPAND_SZ
Data: %SystemRoot%\system32\NOTEPAD.EXE %1

Key Name: HKEY_CLASSES_ROOT\txtfile\shell\print
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 9:31 PM
Key Name: HKEY_CLASSES_ROOT\txtfile\shell\print\command
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 9:31 PM
Value 0
Name: <NO NAME>
Type: REG_EXPAND_SZ
Data: %SystemRoot%\system32\NOTEPAD.EXE /p %1

Key Name: HKEY_CLASSES_ROOT\txtfile\shell\printto
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 9:31 PM
Key Name: HKEY_CLASSES_ROOT\txtfile\shell\printto\command
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 9:31 PM
Value 0
Name: <NO NAME>
Type: REG_EXPAND_SZ
Data: %SystemRoot%\system32\notepad.exe /pt "%1" "%2" "%3" "%4"

HKEY_CLASSES_ROOT\.txt
Key Name: HKEY_CLASSES_ROOT\.txt
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 11:48 AM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data: txtfile
Value 1
Name: PerceivedType
Type: REG_SZ
Data: text
Value 2
Name: Content Type
Type: REG_SZ
Data: text/plain

Key Name: HKEY_CLASSES_ROOT\.txt\PersistentHandler
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 11:46 AM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data: {5e941d80-bf96-11cd-b579-08002b30bfeb}

Key Name: HKEY_CLASSES_ROOT\.txt\ShellNew
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 9:31 PM
Value 0
Name: NullFile
Type: REG_SZ
Data:


HKEY_CLASSES_ROOT\SystemFileAssociations\.txt (shouldn't exist) it doesn't exist


HKEY_CLASSES_ROOT\SystemFileAssociations\text it doesn't exist

HKEY_CLASSES_ROOT\SystemFileAssociations\text.text does exist

Key Name: HKEY_CLASSES_ROOT\Text.Text
Class Name: <NO CLASS>
Last Write Time: 24/08/2002 - 1:54 AM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data: Text Class
HKEY_CLASSES_ROOT\SystemFileAssociations\text.text
Key Name: HKEY_CLASSES_ROOT\Text.Text\CurVer
Class Name: <NO CLASS>
Last Write Time: 24/08/2002 - 1:54 AM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data: Text.Text.2


HKEY_CLASSES_ROOT\SystemFileAssociations\text.text.2 does exist

Key Name: HKEY_CLASSES_ROOT\Text.Text.2
Class Name: <NO CLASS>
Last Write Time: 24/08/2002 - 1:54 AM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data: Text Class

Key Name: HKEY_CLASSES_ROOT\Text.Text.2\CLSID
Class Name: <NO CLASS>
Last Write Time: 24/08/2002 - 1:54 AM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data: {4CDB6960-94D2-11d4-9064-00C04F78ACF9}
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt

Key Name: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt
Class Name: <NO CLASS>
Last Write Time: 11/06/2004 - 6:50 PM
Value 0
Name: Application
Type: REG_SZ
Data: WORDPAD.EXE
Value 1
Name: <NO NAME>
Type: REG_SZ
Data:

Key Name: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\OpenWithList
Class Name: <NO CLASS>
Last Write Time: 11/06/2004 - 6:49 PM
Value 0
Name: a
Type: REG_SZ
Data: NOTEPAD.EXE
Value 1
Name: MRUList
Type: REG_SZ
Data: acb
Value 2
Name: b
Type: REG_SZ
Data: msnmsgr.exe
Value 3
Name: c
Type: REG_SZ
Data: WORDPAD.EXE
Value 4
Name: <NO NAME>
Type: REG_SZ
Data:

Key Name: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\OpenWithProgids
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 12:02 PM
Value 0
Name: txtfile
Type: REG_NONE
Data:






Lets find out the reason. I hate typing this.

Type regedit in Start Run. Select each of the following keys, right click, Export, then insert here.

HKEY_CLASSES_ROOT\.txt
(note the default value of the above key)
HKEY_CLASSES_ROOT\<default value from above)
HKEY_CLASSES_ROOT\txtfile
HKEY_CLASSES_ROOT\.txt
HKEY_CLASSES_ROOT\SystemFileAssociations\.txt (shouldn't exist)
HKEY_CLASSES_ROOT\SystemFileAssociations\text
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt
 
D

David Candy

I find this format really hard to read. (reg format is what everyone here is used to).

Could you do it again with *.reg format. Then Right click the reg file and choose Edit to cut and paste. I don't see anything out of place here (well I do but that shouldn't stop it working - I want to see it in reg format first anyway).

Type in Start Run (or cut and paste there)

explorer /select,%systemroot%\system32\notepad.exe

(which should open a window with notepad selected - is it there?)

Have you had any virus programs lately. I notice a spate of notepad problems at the moment.

What adobe products do you have? (that's the additional text.text stuff and it version 2 of the component, not necessary the same as the product version).

Anyway paste back the reg files so I can better spot what doesn't fit. The absene of the text key won't stop it from working (if you damage your main association this is a backup but your main seems ok). Note I don't have Text.Text on mine though I have the files that handle it. Friday night football starts in 45 minutes (I'm in Australia and it's friday night here). If you reply by then I'll give you some more homework.
--
----------------------------------------------------------
http://www.smh.com.au/yoursay/2004/06/11/index.html
I hope I get this right. I hope this is what you wanted, I don't understand it.

HKEY_CLASSES_ROOT\.txt (Default) REF_SZ (txtfile)
(note the default value of the above key)

HKEY_CLASSES_ROOT\<default value from above) (Default) REF_SZ (value not set)


HKEY_CLASSES_ROOT\txtfile
Key Name: HKEY_CLASSES_ROOT\txtfile
Class Name: <NO CLASS>
Last Write Time: 11/06/2004 - 4:57 PM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data: Text Document
Value 1
Name: FriendlyTypeName
Type: REG_EXPAND_SZ
Data: @%SystemRoot%\system32\notepad.exe,-469
Value 2
Name: EditFlags
Type: REG_DWORD
Data: 0x10000
Value 3
Name: BrowserFlags
Type: REG_DWORD
Data: 0x8

Key Name: HKEY_CLASSES_ROOT\txtfile\DefaultIcon
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 9:31 PM
Value 0
Name: <NO NAME>
Type: REG_EXPAND_SZ
Data: %SystemRoot%\system32\shell32.dll,-152

Key Name: HKEY_CLASSES_ROOT\txtfile\shell
Class Name: <NO CLASS>
Last Write Time: 11/06/2004 - 4:57 PM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data:

Key Name: HKEY_CLASSES_ROOT\txtfile\shell\open
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 9:31 PM
Key Name: HKEY_CLASSES_ROOT\txtfile\shell\open\command
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 9:31 PM
Value 0
Name: <NO NAME>
Type: REG_EXPAND_SZ
Data: %SystemRoot%\system32\NOTEPAD.EXE %1

Key Name: HKEY_CLASSES_ROOT\txtfile\shell\print
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 9:31 PM
Key Name: HKEY_CLASSES_ROOT\txtfile\shell\print\command
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 9:31 PM
Value 0
Name: <NO NAME>
Type: REG_EXPAND_SZ
Data: %SystemRoot%\system32\NOTEPAD.EXE /p %1

Key Name: HKEY_CLASSES_ROOT\txtfile\shell\printto
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 9:31 PM
Key Name: HKEY_CLASSES_ROOT\txtfile\shell\printto\command
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 9:31 PM
Value 0
Name: <NO NAME>
Type: REG_EXPAND_SZ
Data: %SystemRoot%\system32\notepad.exe /pt "%1" "%2" "%3" "%4"

HKEY_CLASSES_ROOT\.txt
Key Name: HKEY_CLASSES_ROOT\.txt
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 11:48 AM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data: txtfile
Value 1
Name: PerceivedType
Type: REG_SZ
Data: text
Value 2
Name: Content Type
Type: REG_SZ
Data: text/plain

Key Name: HKEY_CLASSES_ROOT\.txt\PersistentHandler
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 11:46 AM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data: {5e941d80-bf96-11cd-b579-08002b30bfeb}

Key Name: HKEY_CLASSES_ROOT\.txt\ShellNew
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 9:31 PM
Value 0
Name: NullFile
Type: REG_SZ
Data:


HKEY_CLASSES_ROOT\SystemFileAssociations\.txt (shouldn't exist) it doesn't exist


HKEY_CLASSES_ROOT\SystemFileAssociations\text it doesn't exist

HKEY_CLASSES_ROOT\SystemFileAssociations\text.text does exist

Key Name: HKEY_CLASSES_ROOT\Text.Text
Class Name: <NO CLASS>
Last Write Time: 24/08/2002 - 1:54 AM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data: Text Class
HKEY_CLASSES_ROOT\SystemFileAssociations\text.text
Key Name: HKEY_CLASSES_ROOT\Text.Text\CurVer
Class Name: <NO CLASS>
Last Write Time: 24/08/2002 - 1:54 AM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data: Text.Text.2


HKEY_CLASSES_ROOT\SystemFileAssociations\text.text.2 does exist

Key Name: HKEY_CLASSES_ROOT\Text.Text.2
Class Name: <NO CLASS>
Last Write Time: 24/08/2002 - 1:54 AM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data: Text Class

Key Name: HKEY_CLASSES_ROOT\Text.Text.2\CLSID
Class Name: <NO CLASS>
Last Write Time: 24/08/2002 - 1:54 AM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data: {4CDB6960-94D2-11d4-9064-00C04F78ACF9}
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt

Key Name: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt
Class Name: <NO CLASS>
Last Write Time: 11/06/2004 - 6:50 PM
Value 0
Name: Application
Type: REG_SZ
Data: WORDPAD.EXE
Value 1
Name: <NO NAME>
Type: REG_SZ
Data:

Key Name: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\OpenWithList
Class Name: <NO CLASS>
Last Write Time: 11/06/2004 - 6:49 PM
Value 0
Name: a
Type: REG_SZ
Data: NOTEPAD.EXE
Value 1
Name: MRUList
Type: REG_SZ
Data: acb
Value 2
Name: b
Type: REG_SZ
Data: msnmsgr.exe
Value 3
Name: c
Type: REG_SZ
Data: WORDPAD.EXE
Value 4
Name: <NO NAME>
Type: REG_SZ
Data:

Key Name: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\OpenWithProgids
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 12:02 PM
Value 0
Name: txtfile
Type: REG_NONE
Data:






Lets find out the reason. I hate typing this.

Type regedit in Start Run. Select each of the following keys, right click, Export, then insert here.

HKEY_CLASSES_ROOT\.txt
(note the default value of the above key)
HKEY_CLASSES_ROOT\<default value from above)
HKEY_CLASSES_ROOT\txtfile
HKEY_CLASSES_ROOT\.txt
HKEY_CLASSES_ROOT\SystemFileAssociations\.txt (shouldn't exist)
HKEY_CLASSES_ROOT\SystemFileAssociations\text
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt
 
D

David Candy

And full version numbers of the adobe things and fo you remember doing anything with adobe before this happened.

--
----------------------------------------------------------
http://www.smh.com.au/yoursay/2004/06/11/index.html
I hope I get this right. I hope this is what you wanted, I don't understand it.

HKEY_CLASSES_ROOT\.txt (Default) REF_SZ (txtfile)
(note the default value of the above key)

HKEY_CLASSES_ROOT\<default value from above) (Default) REF_SZ (value not set)


HKEY_CLASSES_ROOT\txtfile
Key Name: HKEY_CLASSES_ROOT\txtfile
Class Name: <NO CLASS>
Last Write Time: 11/06/2004 - 4:57 PM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data: Text Document
Value 1
Name: FriendlyTypeName
Type: REG_EXPAND_SZ
Data: @%SystemRoot%\system32\notepad.exe,-469
Value 2
Name: EditFlags
Type: REG_DWORD
Data: 0x10000
Value 3
Name: BrowserFlags
Type: REG_DWORD
Data: 0x8

Key Name: HKEY_CLASSES_ROOT\txtfile\DefaultIcon
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 9:31 PM
Value 0
Name: <NO NAME>
Type: REG_EXPAND_SZ
Data: %SystemRoot%\system32\shell32.dll,-152

Key Name: HKEY_CLASSES_ROOT\txtfile\shell
Class Name: <NO CLASS>
Last Write Time: 11/06/2004 - 4:57 PM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data:

Key Name: HKEY_CLASSES_ROOT\txtfile\shell\open
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 9:31 PM
Key Name: HKEY_CLASSES_ROOT\txtfile\shell\open\command
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 9:31 PM
Value 0
Name: <NO NAME>
Type: REG_EXPAND_SZ
Data: %SystemRoot%\system32\NOTEPAD.EXE %1

Key Name: HKEY_CLASSES_ROOT\txtfile\shell\print
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 9:31 PM
Key Name: HKEY_CLASSES_ROOT\txtfile\shell\print\command
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 9:31 PM
Value 0
Name: <NO NAME>
Type: REG_EXPAND_SZ
Data: %SystemRoot%\system32\NOTEPAD.EXE /p %1

Key Name: HKEY_CLASSES_ROOT\txtfile\shell\printto
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 9:31 PM
Key Name: HKEY_CLASSES_ROOT\txtfile\shell\printto\command
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 9:31 PM
Value 0
Name: <NO NAME>
Type: REG_EXPAND_SZ
Data: %SystemRoot%\system32\notepad.exe /pt "%1" "%2" "%3" "%4"

HKEY_CLASSES_ROOT\.txt
Key Name: HKEY_CLASSES_ROOT\.txt
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 11:48 AM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data: txtfile
Value 1
Name: PerceivedType
Type: REG_SZ
Data: text
Value 2
Name: Content Type
Type: REG_SZ
Data: text/plain

Key Name: HKEY_CLASSES_ROOT\.txt\PersistentHandler
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 11:46 AM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data: {5e941d80-bf96-11cd-b579-08002b30bfeb}

Key Name: HKEY_CLASSES_ROOT\.txt\ShellNew
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 9:31 PM
Value 0
Name: NullFile
Type: REG_SZ
Data:


HKEY_CLASSES_ROOT\SystemFileAssociations\.txt (shouldn't exist) it doesn't exist


HKEY_CLASSES_ROOT\SystemFileAssociations\text it doesn't exist

HKEY_CLASSES_ROOT\SystemFileAssociations\text.text does exist

Key Name: HKEY_CLASSES_ROOT\Text.Text
Class Name: <NO CLASS>
Last Write Time: 24/08/2002 - 1:54 AM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data: Text Class
HKEY_CLASSES_ROOT\SystemFileAssociations\text.text
Key Name: HKEY_CLASSES_ROOT\Text.Text\CurVer
Class Name: <NO CLASS>
Last Write Time: 24/08/2002 - 1:54 AM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data: Text.Text.2


HKEY_CLASSES_ROOT\SystemFileAssociations\text.text.2 does exist

Key Name: HKEY_CLASSES_ROOT\Text.Text.2
Class Name: <NO CLASS>
Last Write Time: 24/08/2002 - 1:54 AM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data: Text Class

Key Name: HKEY_CLASSES_ROOT\Text.Text.2\CLSID
Class Name: <NO CLASS>
Last Write Time: 24/08/2002 - 1:54 AM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data: {4CDB6960-94D2-11d4-9064-00C04F78ACF9}
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt

Key Name: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt
Class Name: <NO CLASS>
Last Write Time: 11/06/2004 - 6:50 PM
Value 0
Name: Application
Type: REG_SZ
Data: WORDPAD.EXE
Value 1
Name: <NO NAME>
Type: REG_SZ
Data:

Key Name: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\OpenWithList
Class Name: <NO CLASS>
Last Write Time: 11/06/2004 - 6:49 PM
Value 0
Name: a
Type: REG_SZ
Data: NOTEPAD.EXE
Value 1
Name: MRUList
Type: REG_SZ
Data: acb
Value 2
Name: b
Type: REG_SZ
Data: msnmsgr.exe
Value 3
Name: c
Type: REG_SZ
Data: WORDPAD.EXE
Value 4
Name: <NO NAME>
Type: REG_SZ
Data:

Key Name: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\OpenWithProgids
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 12:02 PM
Value 0
Name: txtfile
Type: REG_NONE
Data:






Lets find out the reason. I hate typing this.

Type regedit in Start Run. Select each of the following keys, right click, Export, then insert here.

HKEY_CLASSES_ROOT\.txt
(note the default value of the above key)
HKEY_CLASSES_ROOT\<default value from above)
HKEY_CLASSES_ROOT\txtfile
HKEY_CLASSES_ROOT\.txt
HKEY_CLASSES_ROOT\SystemFileAssociations\.txt (shouldn't exist)
HKEY_CLASSES_ROOT\SystemFileAssociations\text
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt
 
D

David Candy

Reply to this messaage as it getting big so I snipped and we'll work with your reply.
 
R

Ramesh [MVP]

Probably this one David?

---------
Key Name: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt
Class Name: <NO CLASS>
Last Write Time: 11/06/2004 - 6:50 PM
Value 0
Name: Application
Type: REG_SZ
Data: WORDPAD.EXE
Value 1
Name: <NO NAME>
Type: REG_SZ
Data:

----------

--
Ramesh - Microsoft MVP
Windows XP Shell/User
http://www.mvps.org/sramesh2k

AumHa VSOP: http://www.aumha.org

I find this format really hard to read. (reg format is what everyone here is used to).

Could you do it again with *.reg format. Then Right click the reg file and choose Edit to cut and paste. I don't see anything out of place here (well I do but that shouldn't stop it working - I want to see it in reg format first anyway).

Type in Start Run (or cut and paste there)

explorer /select,%systemroot%\system32\notepad.exe

(which should open a window with notepad selected - is it there?)

Have you had any virus programs lately. I notice a spate of notepad problems at the moment.

What adobe products do you have? (that's the additional text.text stuff and it version 2 of the component, not necessary the same as the product version).

Anyway paste back the reg files so I can better spot what doesn't fit. The absene of the text key won't stop it from working (if you damage your main association this is a backup but your main seems ok). Note I don't have Text.Text on mine though I have the files that handle it. Friday night football starts in 45 minutes (I'm in Australia and it's friday night here). If you reply by then I'll give you some more homework.
--
----------------------------------------------------------
http://www.smh.com.au/yoursay/2004/06/11/index.html
I hope I get this right. I hope this is what you wanted, I don't understand it.

HKEY_CLASSES_ROOT\.txt (Default) REF_SZ (txtfile)
(note the default value of the above key)

HKEY_CLASSES_ROOT\<default value from above) (Default) REF_SZ (value not set)


HKEY_CLASSES_ROOT\txtfile
Key Name: HKEY_CLASSES_ROOT\txtfile
Class Name: <NO CLASS>
Last Write Time: 11/06/2004 - 4:57 PM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data: Text Document
Value 1
Name: FriendlyTypeName
Type: REG_EXPAND_SZ
Data: @%SystemRoot%\system32\notepad.exe,-469
Value 2
Name: EditFlags
Type: REG_DWORD
Data: 0x10000
Value 3
Name: BrowserFlags
Type: REG_DWORD
Data: 0x8

Key Name: HKEY_CLASSES_ROOT\txtfile\DefaultIcon
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 9:31 PM
Value 0
Name: <NO NAME>
Type: REG_EXPAND_SZ
Data: %SystemRoot%\system32\shell32.dll,-152

Key Name: HKEY_CLASSES_ROOT\txtfile\shell
Class Name: <NO CLASS>
Last Write Time: 11/06/2004 - 4:57 PM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data:

Key Name: HKEY_CLASSES_ROOT\txtfile\shell\open
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 9:31 PM
Key Name: HKEY_CLASSES_ROOT\txtfile\shell\open\command
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 9:31 PM
Value 0
Name: <NO NAME>
Type: REG_EXPAND_SZ
Data: %SystemRoot%\system32\NOTEPAD.EXE %1

Key Name: HKEY_CLASSES_ROOT\txtfile\shell\print
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 9:31 PM
Key Name: HKEY_CLASSES_ROOT\txtfile\shell\print\command
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 9:31 PM
Value 0
Name: <NO NAME>
Type: REG_EXPAND_SZ
Data: %SystemRoot%\system32\NOTEPAD.EXE /p %1

Key Name: HKEY_CLASSES_ROOT\txtfile\shell\printto
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 9:31 PM
Key Name: HKEY_CLASSES_ROOT\txtfile\shell\printto\command
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 9:31 PM
Value 0
Name: <NO NAME>
Type: REG_EXPAND_SZ
Data: %SystemRoot%\system32\notepad.exe /pt "%1" "%2" "%3" "%4"

HKEY_CLASSES_ROOT\.txt
Key Name: HKEY_CLASSES_ROOT\.txt
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 11:48 AM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data: txtfile
Value 1
Name: PerceivedType
Type: REG_SZ
Data: text
Value 2
Name: Content Type
Type: REG_SZ
Data: text/plain

Key Name: HKEY_CLASSES_ROOT\.txt\PersistentHandler
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 11:46 AM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data: {5e941d80-bf96-11cd-b579-08002b30bfeb}

Key Name: HKEY_CLASSES_ROOT\.txt\ShellNew
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 9:31 PM
Value 0
Name: NullFile
Type: REG_SZ
Data:


HKEY_CLASSES_ROOT\SystemFileAssociations\.txt (shouldn't exist) it doesn't exist


HKEY_CLASSES_ROOT\SystemFileAssociations\text it doesn't exist

HKEY_CLASSES_ROOT\SystemFileAssociations\text.text does exist

Key Name: HKEY_CLASSES_ROOT\Text.Text
Class Name: <NO CLASS>
Last Write Time: 24/08/2002 - 1:54 AM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data: Text Class
HKEY_CLASSES_ROOT\SystemFileAssociations\text.text
Key Name: HKEY_CLASSES_ROOT\Text.Text\CurVer
Class Name: <NO CLASS>
Last Write Time: 24/08/2002 - 1:54 AM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data: Text.Text.2


HKEY_CLASSES_ROOT\SystemFileAssociations\text.text.2 does exist

Key Name: HKEY_CLASSES_ROOT\Text.Text.2
Class Name: <NO CLASS>
Last Write Time: 24/08/2002 - 1:54 AM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data: Text Class

Key Name: HKEY_CLASSES_ROOT\Text.Text.2\CLSID
Class Name: <NO CLASS>
Last Write Time: 24/08/2002 - 1:54 AM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data: {4CDB6960-94D2-11d4-9064-00C04F78ACF9}
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt

Key Name: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt
Class Name: <NO CLASS>
Last Write Time: 11/06/2004 - 6:50 PM
Value 0
Name: Application
Type: REG_SZ
Data: WORDPAD.EXE
Value 1
Name: <NO NAME>
Type: REG_SZ
Data:

Key Name: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\OpenWithList
Class Name: <NO CLASS>
Last Write Time: 11/06/2004 - 6:49 PM
Value 0
Name: a
Type: REG_SZ
Data: NOTEPAD.EXE
Value 1
Name: MRUList
Type: REG_SZ
Data: acb
Value 2
Name: b
Type: REG_SZ
Data: msnmsgr.exe
Value 3
Name: c
Type: REG_SZ
Data: WORDPAD.EXE
Value 4
Name: <NO NAME>
Type: REG_SZ
Data:

Key Name: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\OpenWithProgids
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 12:02 PM
Value 0
Name: txtfile
Type: REG_NONE
Data:






Lets find out the reason. I hate typing this.

Type regedit in Start Run. Select each of the following keys, right click, Export, then insert here.

HKEY_CLASSES_ROOT\.txt
(note the default value of the above key)
HKEY_CLASSES_ROOT\<default value from above)
HKEY_CLASSES_ROOT\txtfile
HKEY_CLASSES_ROOT\.txt
HKEY_CLASSES_ROOT\SystemFileAssociations\.txt (shouldn't exist)
HKEY_CLASSES_ROOT\SystemFileAssociations\text
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt
 
R

Ramesh [MVP]

Hi George,

Which program are you using to extract the registry keys? A REG format is easier.

--
Ramesh - Microsoft MVP
Windows XP Shell/User
http://www.mvps.org/sramesh2k

AumHa VSOP: http://www.aumha.org

I hope I get this right. I hope this is what you wanted, I don't understand it.

HKEY_CLASSES_ROOT\.txt (Default) REF_SZ (txtfile)
(note the default value of the above key)

HKEY_CLASSES_ROOT\<default value from above) (Default) REF_SZ (value not set)


HKEY_CLASSES_ROOT\txtfile
Key Name: HKEY_CLASSES_ROOT\txtfile
Class Name: <NO CLASS>
Last Write Time: 11/06/2004 - 4:57 PM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data: Text Document
Value 1
Name: FriendlyTypeName
Type: REG_EXPAND_SZ
Data: @%SystemRoot%\system32\notepad.exe,-469
Value 2
Name: EditFlags
Type: REG_DWORD
Data: 0x10000
Value 3
Name: BrowserFlags
Type: REG_DWORD
Data: 0x8

Key Name: HKEY_CLASSES_ROOT\txtfile\DefaultIcon
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 9:31 PM
Value 0
Name: <NO NAME>
Type: REG_EXPAND_SZ
Data: %SystemRoot%\system32\shell32.dll,-152

Key Name: HKEY_CLASSES_ROOT\txtfile\shell
Class Name: <NO CLASS>
Last Write Time: 11/06/2004 - 4:57 PM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data:

Key Name: HKEY_CLASSES_ROOT\txtfile\shell\open
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 9:31 PM
Key Name: HKEY_CLASSES_ROOT\txtfile\shell\open\command
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 9:31 PM
Value 0
Name: <NO NAME>
Type: REG_EXPAND_SZ
Data: %SystemRoot%\system32\NOTEPAD.EXE %1

Key Name: HKEY_CLASSES_ROOT\txtfile\shell\print
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 9:31 PM
Key Name: HKEY_CLASSES_ROOT\txtfile\shell\print\command
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 9:31 PM
Value 0
Name: <NO NAME>
Type: REG_EXPAND_SZ
Data: %SystemRoot%\system32\NOTEPAD.EXE /p %1

Key Name: HKEY_CLASSES_ROOT\txtfile\shell\printto
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 9:31 PM
Key Name: HKEY_CLASSES_ROOT\txtfile\shell\printto\command
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 9:31 PM
Value 0
Name: <NO NAME>
Type: REG_EXPAND_SZ
Data: %SystemRoot%\system32\notepad.exe /pt "%1" "%2" "%3" "%4"

HKEY_CLASSES_ROOT\.txt
Key Name: HKEY_CLASSES_ROOT\.txt
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 11:48 AM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data: txtfile
Value 1
Name: PerceivedType
Type: REG_SZ
Data: text
Value 2
Name: Content Type
Type: REG_SZ
Data: text/plain

Key Name: HKEY_CLASSES_ROOT\.txt\PersistentHandler
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 11:46 AM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data: {5e941d80-bf96-11cd-b579-08002b30bfeb}

Key Name: HKEY_CLASSES_ROOT\.txt\ShellNew
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 9:31 PM
Value 0
Name: NullFile
Type: REG_SZ
Data:


HKEY_CLASSES_ROOT\SystemFileAssociations\.txt (shouldn't exist) it doesn't exist


HKEY_CLASSES_ROOT\SystemFileAssociations\text it doesn't exist

HKEY_CLASSES_ROOT\SystemFileAssociations\text.text does exist

Key Name: HKEY_CLASSES_ROOT\Text.Text
Class Name: <NO CLASS>
Last Write Time: 24/08/2002 - 1:54 AM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data: Text Class
HKEY_CLASSES_ROOT\SystemFileAssociations\text.text
Key Name: HKEY_CLASSES_ROOT\Text.Text\CurVer
Class Name: <NO CLASS>
Last Write Time: 24/08/2002 - 1:54 AM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data: Text.Text.2


HKEY_CLASSES_ROOT\SystemFileAssociations\text.text.2 does exist

Key Name: HKEY_CLASSES_ROOT\Text.Text.2
Class Name: <NO CLASS>
Last Write Time: 24/08/2002 - 1:54 AM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data: Text Class

Key Name: HKEY_CLASSES_ROOT\Text.Text.2\CLSID
Class Name: <NO CLASS>
Last Write Time: 24/08/2002 - 1:54 AM
Value 0
Name: <NO NAME>
Type: REG_SZ
Data: {4CDB6960-94D2-11d4-9064-00C04F78ACF9}
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt

Key Name: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt
Class Name: <NO CLASS>
Last Write Time: 11/06/2004 - 6:50 PM
Value 0
Name: Application
Type: REG_SZ
Data: WORDPAD.EXE
Value 1
Name: <NO NAME>
Type: REG_SZ
Data:

Key Name: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\OpenWithList
Class Name: <NO CLASS>
Last Write Time: 11/06/2004 - 6:49 PM
Value 0
Name: a
Type: REG_SZ
Data: NOTEPAD.EXE
Value 1
Name: MRUList
Type: REG_SZ
Data: acb
Value 2
Name: b
Type: REG_SZ
Data: msnmsgr.exe
Value 3
Name: c
Type: REG_SZ
Data: WORDPAD.EXE
Value 4
Name: <NO NAME>
Type: REG_SZ
Data:

Key Name: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\OpenWithProgids
Class Name: <NO CLASS>
Last Write Time: 23/08/2002 - 12:02 PM
Value 0
Name: txtfile
Type: REG_NONE
Data:






Lets find out the reason. I hate typing this.

Type regedit in Start Run. Select each of the following keys, right click, Export, then insert here.

HKEY_CLASSES_ROOT\.txt
(note the default value of the above key)
HKEY_CLASSES_ROOT\<default value from above)
HKEY_CLASSES_ROOT\txtfile
HKEY_CLASSES_ROOT\.txt
HKEY_CLASSES_ROOT\SystemFileAssociations\.txt (shouldn't exist)
HKEY_CLASSES_ROOT\SystemFileAssociations\text
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt
 
G

George

Alright!! David, we fixed it. Here we go.


Type in Start Run (or cut and paste there)
explorer /select,%systemroot%\system32\notepad.exe
(which should open a window with notepad selected - is it there?)

notepad.exe (3k) was there with a plain icon,
and there was a notpad.exe (64k) with the proper notepad icon

both execute into notepad
and - Help, About Notepad - shows same info version 5.1 in both

i renamed the original 3k to notepad.exe.bak and renamed the 64k notpad.exe
to notepad.exe and txt files open up into notepad.

i undone everything and text files will definitely not open up in the 3k
version,
so i have deleted it (probably a virus) and using the 64k version



Have you had any virus programs lately. I notice a spate of notepad problems
at the moment.
I ran trendmicro online and it found 8 viruses which i deleted immediately


Thanks David and Ramesh
George
 
G

George

Just in case you don't read the other one.


Alright!! David, we fixed it. Here we go.

Type in Start Run (or cut and paste there)
explorer /select,%systemroot%\system32\notepad.exe
(which should open a window with notepad selected - is it there?)

notepad.exe (3k) was there with a plain icon,
and there was a notpad.exe (64k) with the proper notepad icon

both execute into notepad
and - Help, About Notepad - shows same info version 5.1 in both

i renamed the original 3k to notepad.exe.bak and renamed the 64k notpad.exe
to notepad.exe and txt files open up into notepad.

i undone everything and text files will definitely not open up in the 3k
version,
so i have deleted it (probably a virus) and using the 64k version



Have you had any virus programs lately. I notice a spate of notepad problems
at the moment.
I ran trendmicro online and it found 8 viruses which i deleted immediately


Thanks David and Ramesh
George


Reply to this messaage as it getting big so I snipped and we'll work with
your reply.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top