NotePad - file types

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

When I use NotePad, I usually need to open *.DAT files. So each time, I
need to change the file type from *.TXT to all files (*.*). Is it possible
to change default file type to *.DAT;*.TXT when I open a file in Notepad?

TIA
Mike
 
I have *.DAT files opening with Notepad ok, BUT they have a *Nero Showtome*
Icon.
If I go to Folder Options/File Types... .DAT/ it asks if I want to restore
the association to *Nero Showtome* which is obviously incottect...
How can I rectify this please?
 
You can check the registry for HKEY_CLASSES_ROOT\.dat and see if Nero is
there - but have a reagistry backup or export the key that you want to
delete. There are some registry utilities that can do the job if Nero is no
longer on your system.
Safe and best is to use a tool such as TweakUI for XP to restore file
associations. Or Google for 'xp repair file association'
Michael
 
| I have *.DAT files opening with Notepad ok, BUT they have a *Nero Showtome*
| Icon.
| If I go to Folder Options/File Types... .DAT/ it asks if I want to restore
| the association to *Nero Showtome* which is obviously incottect...
| How can I rectify this please?

Does *Nero Showtome* use *.DAT files?

Have you uninstalled *Nero Showtome* ?

Exactly what "asks if (you) want to restore the association
to *Nero Showtome*"?
Did you click [Restore] ?

Exactly what "is obviously inco(rr)ect" ?
 
Yes, I have associated DAT file type to open with NotePad. But if you open
Notepad, then File, Open... Is there a way to change the "files of type"
combobox in the Open dialog box to *.dat;*.txt?
 
Let me start over here...
All *.DAT files have a NeroShowtime icon instead of a Notepad icon, and
tried to opem WITH NeroShowtime - the *obviously incorrect* bit....[1]
I have changed this to *Always open this type of file with Notepad*, and
indeed they DO open with Notepad.
HOWEVER, they STILL have NeroShowtime icons.
If I follow the route you gave me: (I had already tried that BTW)
Explorer
Tools
Folder Options
File Types
DAT <<<<<<<<
Advanced
Change Icon

As soon as I click DAT (as above) *Advanced* is replaced by *Restore* and it
wants to re associate with NeroShowtime.
BTW, what is the Notepad icon called, *Notepad.ico*?
IF so, it doesn't exist on my puter...!

[1] Please excuse typos as I am partially sighted and this is bl@@dy hard
work for me!:-(
 
| Let me start over here...
| All *.DAT files have a NeroShowtime icon instead of a Notepad icon, and
| tried to opem WITH NeroShowtime - the *obviously incorrect* bit....[1]

Probably because NeroShowtime uses *.DAT files.


| I have changed this to *Always open this type of file with Notepad*, and
| indeed they DO open with Notepad.
| HOWEVER, they STILL have NeroShowtime icons.
| If I follow the route you gave me: (I had already tried that BTW)
| Explorer
| Tools
| Folder Options
| File Types
| DAT <<<<<<<<
| Advanced
| Change Icon
|
| As soon as I click DAT (as above) *Advanced* is replaced by *Restore* and it
| wants to re associate with NeroShowtime.

Click Restore.


| BTW, what is the Notepad icon called, *Notepad.ico*?
| IF so, it doesn't exist on my puter...!

The icon is inside Notepad.exe itself. To use that icon...

Explorer
Tools
Folder Options
File Types
DAT
Advanced
Change Icon
Browse (to c:\WINDOWS\notepad.exe)


| [1] Please excuse typos as I am partially sighted and this is bl@@dy hard
| work for me!:-(

No problem.

Have you adjusted the sizes of every item in "Display Properties" ?

Control Panel
Display
Appearance
Advanced
Item:

Also, have you tried the "On-Screen Keyboard" (OSK) ?

Start
(All) Programs
Accessories
Accessibility
On-Screen Keyboard

I copied the shortcut to OSK to my Statup folder.
I use OSK in "hover mode" but you can click on the keys for faster typing.
The "keys" are large and you can choose, among other things, ...

On-Screen Keyboard
Settings
Font (face, style and size)


P.S.: Ignore my reply to you in the other sub-thread - there is more detail
in this sub-thread.
 
a nonymous said:
| Let me start over here...
| All *.DAT files have a NeroShowtime icon instead of a Notepad icon, and
| tried to opem WITH NeroShowtime - the *obviously incorrect* bit....[1]

Probably because NeroShowtime uses *.DAT files.


| I have changed this to *Always open this type of file with Notepad*, and
| indeed they DO open with Notepad.
| HOWEVER, they STILL have NeroShowtime icons.
| If I follow the route you gave me: (I had already tried that BTW)
| Explorer
| Tools
| Folder Options
| File Types
| DAT <<<<<<<<
| Advanced
| Change Icon
|
| As soon as I click DAT (as above) *Advanced* is replaced by *Restore*
and it
| wants to re associate with NeroShowtime.

Click Restore.

AArrghhhh
As I just said, that doing THAT re associates it with NeroShowtime...
and *Advanced* ain't there no more................
| BTW, what is the Notepad icon called, *Notepad.ico*?
| IF so, it doesn't exist on my puter...!

The icon is inside Notepad.exe itself. To use that icon...

Explorer
Tools
Folder Options
File Types
DAT
Advanced
Change Icon
Browse (to c:\WINDOWS\notepad.exe)

OL, I understand that, but it doesn't fix it :-(
| [1] Please excuse typos as I am partially sighted and this is bl@@dy
hard
| work for me!:-(

No problem.

Have you adjusted the sizes of every item in "Display Properties" ?

Control Panel
Display
Appearance
Advanced
Item:


Also, have you tried the "On-Screen Keyboard" (OSK) ?

Start
(All) Programs
Accessories
Accessibility
On-Screen Keyboard

I copied the shortcut to OSK to my Statup folder.
I use OSK in "hover mode" but you can click on the keys for faster typing.
The "keys" are large and you can choose, among other things, ...

On-Screen Keyboard
Settings
Font (face, style and size)

Thanks, I'll investigate that again.
(I didn't like it the only (brief) time I tried it.)
However....
P.S.: Ignore my reply to you in the other sub-thread - there is more
detail
in this sub-thread.

Ok :-))
I'll delete the other thread...

Thanks for all your efforts.
This is getting VERY frustrating tho...
 
|
| "a nonymous" wrote
| >
| > | I have changed this to *Always open this type of file with Notepad*, and
| > | indeed they DO open with Notepad.
| > | HOWEVER, they STILL have NeroShowtime icons.
| > | If I follow the route you gave me: (I had already tried that BTW)
| > | Explorer
| > | Tools
| > | Folder Options
| > | File Types
| > | DAT <<<<<<<<
| > | Advanced
| > | Change Icon
| > |
| > | As soon as I click DAT (as above) *Advanced* is replaced by *Restore*
| > and it wants to re associate with NeroShowtime.
| >
| > Click Restore.
|
| AArrghhhh
| As I just said, that doing THAT re associates it with NeroShowtime...
| and *Advanced* ain't there no more.


On a working system, when you click [Restore] it should change back
to [Advanced].

Because NeroShowtime now owns *.DAT files,
you need to MANUALLY set the *.DAT file association to Notepad.

Explorer
Tools
Folder Options
File Types
DAT
( Click Restore to give you the Advanced button. )
Advanced
Change Icon
Browse (to c:\WINDOWS\notepad.exe)
OK

In the "Action:" box, click "Open", then click [Edit]

In "Application used to perform action:"
"c:\WINDOWS\notepad.exe" "%1"

If there is a tick in "Use DDE",
then in the "Application:" box below that, enter

notepad

OK
OK
OK
 
Pleas Help...I'm new at this newsgroup stuff so pls bear with me...
I have this same type of problem...I accidentally changed one of my .DAT
files to open with WMP and now all of my .DAT files have the Windows Media
player icon. Some of my apps will no longer open. I read this thread and
followed all the advise, but ran into problems. Firstly, there is not a DAT
file under my file types listed, so I have to create a new one which works
out oK. The dat file type appears in the type list with the WMP icon. Then I
click on advanced to bring up the change icon box. OK so far. Then I browse
through EXplorer and select notepad.exe and click open and OK. Then this is
where I start to have problems. You say to " In the Action box, click Open,
then click Edit. Well, My "Action box does not have and "Open" button and the
"edit" button is shaded out. All I have is a "new" button. If I click on this
"new" button, it takes me to the same place that I think you'r talking about,
but I'm not sure. It opens another window titled New Action. Under Action: Do
I then type the word "open"?? Under Application used to perform action: Do I
type C\WINDOWS etc.? or Do I nav through explorer again to notepad.exe? I
have tried what you've suggested including typing the line with the %1 at the
end. ( My DDE box is not checked) After I click OK, OK...It returns me to the
Folder Options window, but no changes have been made to the DAT file icon.
The "apply" button is shaded out (which usually is not after you've made
changes). And when i click the close button, everything remains as was. If I
go back into Folder Options, File Types, My DAT file that I thought I had
added is not even listed again. Obviously I'm doing something wrong, cos this
is not working for me. My PC is in a mess cos of this and so am I. Any help
that you can give me would be GREATLY appreciated...
Thanks, Liz

a nonymous said:
|
| "a nonymous" wrote
| >
| > | I have changed this to *Always open this type of file with Notepad*, and
| > | indeed they DO open with Notepad.
| > | HOWEVER, they STILL have NeroShowtime icons.
| > | If I follow the route you gave me: (I had already tried that BTW)
| > | Explorer
| > | Tools
| > | Folder Options
| > | File Types
| > | DAT <<<<<<<<
| > | Advanced
| > | Change Icon
| > |
| > | As soon as I click DAT (as above) *Advanced* is replaced by *Restore*
| > and it wants to re associate with NeroShowtime.
| >
| > Click Restore.
|
| AArrghhhh
| As I just said, that doing THAT re associates it with NeroShowtime...
| and *Advanced* ain't there no more.


On a working system, when you click [Restore] it should change back
to [Advanced].

Because NeroShowtime now owns *.DAT files,
you need to MANUALLY set the *.DAT file association to Notepad.

Explorer
Tools
Folder Options
File Types
DAT
( Click Restore to give you the Advanced button. )
Advanced
Change Icon
Browse (to c:\WINDOWS\notepad.exe)
OK

In the "Action:" box, click "Open", then click [Edit]

In "Application used to perform action:"
"c:\WINDOWS\notepad.exe" "%1"

If there is a tick in "Use DDE",
then in the "Application:" box below that, enter

notepad

OK
OK
OK
 
Liz wrote:

| Please Help. I'm new at this newsgroup stuff so pls bear with me.
| I have this same type of problem
|
| I accidentally changed one of my .DAT files to open with WMP
| and now all of my .DAT files have the Windows Media player icon.

Hi Liz,

Exactly how did you change your ".DAT files to open with WMP"?


As a starting point, Plan A:

1. Open Windows Media Player.
2. On the menu bar, click "Tools" > "Options" > "File Types"
3. Remove the tick mark from "<-something-> (dat)"


If the issue is not resolved, Plan B:

1. Click [Start] > | Run |
2. copy/paste the following line into the "Run" box:

regsvr32 /i shell32.dll

3. Press [Enter]
4. Restart Windows


If the issue is not resolved, Plan C:

1. Click [Start] > | Run |
2. copy/paste the following line into the "Run" box:

regedit

3. Press [Enter]

Be careful here. Do not edit or delete anything (yet).

4. In the left-hand pane, click on the [+] beside "HKEY_CLASSES_ROOT"
5. Navigate down to the key named ".dat"
6. On the menu bar, click "File", then "Export"
7. Copy/paste the following line into the "File name:" box:

HKCR_dat.REG

8. Press [Enter]
9. Copy the contents of "HKCR_dat.REG" file, and paste into your reply.

10. In the right-hand pane, look at the data in "(default)".

If "(default)" is anything other than "(value not set)":

11. Navigate down to the key named whatever was in "(default)".
For me, that would be "datfile".

12. On the menu bar, click "File", then "Export"
13. Copy/paste the following line into the "File name:" box:

HKCR_datFile.REG

14. Press [Enter]
15. Copy the contents of "HKCR_datFle.REG" file, and paste into your reply.


....continuing what you wrote:

| Some of my apps will no longer open.

Which apps?


| I read this thread and followed all the advice, but ran into problems.
|
| Firstly, there is not a DAT file under my file types listed,
| so I have to create a new one which works out oK.
| The dat file type appears in the type list with the WMP icon.

This is puzzling, because if WMP now "owns" .DAT files, then I would
expect DAT to be listed in file types.


| Then I click on advanced to bring up the change icon box. OK so far.
| Then I browse and select notepad.exe and click open and OK.

(So you chose the "notepad" icon for .DAT files)


| Then this is where I start to have problems. You say to
| " In the Action box, click Open, then click Edit."
| Well, My "Action" box does not have and "Open" button and
| the "edit" button is shaded out.

(Not an "Open" button, rather an "Open" item.)
This is because you created a DAT file type, (which did not already exist.)


| All I have is a "new" button. If I click on this "new" button,
| it takes me to the same place that I think you're talking about,
| but I'm not sure. It opens another window titled New Action.
| Under "Action:", do I then type the word "open"?

Yes.


| Under "Application used to perform action:" Do I type C\WINDOWS etc.?
| or Do I navigate through explorer again to notepad.exe?

The foolproof way is to click the [Browse] button, then navigate to
C:\WINDOWS\NOTEPAD.EXE


| I have tried what you've suggested including typing the line with
| the %1 at the end.

XP automatically adds "%1".
After you [Browse] to C:\WINDOWS\NOTEPAD.EXE, then click [ok], then
click [Edit], you will see this in the "Application used to perform
action:" box: C:\WINDOWS\NOTEPAD.EXE "%1"


| (My DDE box is not checked)

That is fine.


| After I click OK, OK, it returns me to the Folder Options window,
| but no changes have been made to the DAT file icon. The "apply"
| button is shaded out...

That is not fine.

| ...(which usually is not after you've made changes). And when I
| click the close button, everything remains as was. If I go back
| into Folder Options, File Types, My DAT file that I thought I had
| added is not even listed again. Obviously I'm doing something wrong,

.... not necessarily any fault on your part. Your XP may be unwell.


| ...cos this is not working for me. My PC is in a mess
| cos of this and so am I. Any help that you can give me would be
| GREATLY appreciated. Thanks, Liz
 
Back
Top