Jump to content

changing txt file association


Recommended Posts

Guest Jeff@unknown.com
Posted

I use a program "Notepad2.exe" to work on my text files. Since I installed

SP3 when I click on a .txt file it opens in Microsoft's built-in Notepad. I

thought it would be simple to change the association by going to

Tools\Folder Options\File Types and change txt to Notepad2.exe, but to my

surprise, I could find no .txt definition to change. I know I could add it

but did not wish to mess things up. Can I just add a new txt to associate

with Notepad2.exe or will that break something?

 

Also what is the difference between TXF (that I found associated with MS

Notepad) and TXT (which I did not find)?

 

Thanks.

 

Jeff

  • Replies 4
  • Created
  • Last Reply
Guest VanguardLH
Posted

Re: changing txt file association

 

"Jeff@unknown.com" wrote in

<news:eJKGtlazIHA.4876@TK2MSFTNGP04.phx.gbl>:

> I use a program "Notepad2.exe" to work on my text files. Since I installed

> SP3 when I click on a .txt file it opens in Microsoft's built-in Notepad. I

> thought it would be simple to change the association by going to

> Tools\Folder Options\File Types and change txt to Notepad2.exe, but to my

> surprise, I could find no .txt definition to change. I know I could add it

> but did not wish to mess things up. Can I just add a new txt to associate

> with Notepad2.exe or will that break something?

>

> Also what is the difference between TXF (that I found associated with MS

> Notepad) and TXT (which I did not find)?

 

In Windows Explorer, right-click on a .txt file.

Select "Open With" from context menu, then select "Choose Program".

Pick whatever application you want to use to open the .txt file.

 

Remember to enable the "Always use the selected program" checkbox.

 

 

You'll have to use a hex editor on the .txf file if it isn't a

plain-text file that Notepad can show. Might indicate what app creates

that filetype.

Guest Jeff@unknown.com
Posted

Re: changing txt file association

 

VanguardLH wrote:

> "Jeff@unknown.com" wrote in

> <news:eJKGtlazIHA.4876@TK2MSFTNGP04.phx.gbl>:

>

>> I use a program "Notepad2.exe" to work on my text files. Since I

>> installed SP3 when I click on a .txt file it opens in Microsoft's

>> built-in Notepad. I thought it would be simple to change the

>> association by going to Tools\Folder Options\File Types and change

>> txt to Notepad2.exe, but to my surprise, I could find no .txt

>> definition to change. I know I could add it but did not wish to

>> mess things up. Can I just add a new txt to associate with

>> Notepad2.exe or will that break something?

>>

>> Also what is the difference between TXF (that I found associated

>> with MS Notepad) and TXT (which I did not find)?

>

> In Windows Explorer, right-click on a .txt file.

> Select "Open With" from context menu, then select "Choose Program".

> Pick whatever application you want to use to open the .txt file.

>

> Remember to enable the "Always use the selected program" checkbox.

>

>

> You'll have to use a hex editor on the .txf file if it isn't a

> plain-text file that Notepad can show. Might indicate what app

> creates that filetype.

 

Thank you so much. That did it. I had forgotten that way of doing it.

 

My txt files are all plain-text ASCII files and the program I wanted to

associate them with, Notepad2.exe, is an enhanced version of Notepad that

has some additional capabilities I use.

 

Thank you again.

 

Jeff

Posted

Re: changing txt file association

 

I wanted to replace notepad with 'Ted Notepad' so that anything that uses notepad will open with 'Ted Notepad'. Literally replacing notepad with a more modern version.

 

If you want to do the same you can use this batch file:

 

1. Copy between the lines.

2. Paste into Notepad.

3. Check and change paths as necessary.

4. Rename name.exe

5. No word-wrap! Lines beginning with xcopy are one line.

5. Save-as ReplaceNotepad.bat (or any name + .bat)

6. Run the batch file in the directory that contains

your new editor.

7. If you get a popup box saying Windows needs to

replace files just select cancel.

 

------------------------------------------

:: Rename original notepad

xcopy C:\WINDOWS\System32\dllcache\notepad.exe C:\WINDOWS\System32\dllcache\notepad.exe.old /y

xcopy C:\WINDOWS\notepad.exe C:\WINDOWS\notepad.exe.old /y

 

:: Replace notepad. (rename name.exe to the editor you want to copy)

xcopy name.exe C:\WINDOWS\System32\dllcache\notepad.exe /y

xcopy name.exe C:\WINDOWS\notepad.exe /y

------------------------------------------

 

 

ju.c

 

 

"Jeff@unknown.com" <JeffMalka@orthohelp.com> wrote in message news:O#Wip3czIHA.5892@TK2MSFTNGP02.phx.gbl...

> VanguardLH wrote:

>> "Jeff@unknown.com" wrote in

>> <news:eJKGtlazIHA.4876@TK2MSFTNGP04.phx.gbl>:

>>

>>> I use a program "Notepad2.exe" to work on my text files. Since I

>>> installed SP3 when I click on a .txt file it opens in Microsoft's

>>> built-in Notepad. I thought it would be simple to change the

>>> association by going to Tools\Folder Options\File Types and change

>>> txt to Notepad2.exe, but to my surprise, I could find no .txt

>>> definition to change. I know I could add it but did not wish to

>>> mess things up. Can I just add a new txt to associate with

>>> Notepad2.exe or will that break something?

>>>

>>> Also what is the difference between TXF (that I found associated

>>> with MS Notepad) and TXT (which I did not find)?

>>

>> In Windows Explorer, right-click on a .txt file.

>> Select "Open With" from context menu, then select "Choose Program".

>> Pick whatever application you want to use to open the .txt file.

>>

>> Remember to enable the "Always use the selected program" checkbox.

>>

>>

>> You'll have to use a hex editor on the .txf file if it isn't a

>> plain-text file that Notepad can show. Might indicate what app

>> creates that filetype.

>

> Thank you so much. That did it. I had forgotten that way of doing it.

>

> My txt files are all plain-text ASCII files and the program I wanted to

> associate them with, Notepad2.exe, is an enhanced version of Notepad that

> has some additional capabilities I use.

>

> Thank you again.

>

> Jeff

>

>

Guest Jeff@unknown.com
Posted

Re: changing txt file association

 

Thanks. VanguardLH's solution did it for me. So now it works correctly.

 

Jeff

 

ju.c wrote:

> I wanted to replace notepad with 'Ted Notepad' so that anything that

> uses notepad will open with 'Ted Notepad'. Literally replacing

> notepad with a more modern version.

>

> If you want to do the same you can use this batch file:

>

> 1. Copy between the lines.

> 2. Paste into Notepad.

> 3. Check and change paths as necessary.

> 4. Rename name.exe

> 5. No word-wrap! Lines beginning with xcopy are one line.

> 5. Save-as ReplaceNotepad.bat (or any name + .bat)

> 6. Run the batch file in the directory that contains

> your new editor.

> 7. If you get a popup box saying Windows needs to

> replace files just select cancel.

>

> ------------------------------------------

>>> Rename original notepad

> xcopy C:\WINDOWS\System32\dllcache\notepad.exe

> C:\WINDOWS\System32\dllcache\notepad.exe.old /y

> xcopy C:\WINDOWS\notepad.exe C:\WINDOWS\notepad.exe.old /y

>

>>> Replace notepad. (rename name.exe to the editor you want to copy)

> xcopy name.exe C:\WINDOWS\System32\dllcache\notepad.exe /y

> xcopy name.exe C:\WINDOWS\notepad.exe /y

> ------------------------------------------

>

>

> ju.c

>

>

> "Jeff@unknown.com" <JeffMalka@orthohelp.com> wrote in message

> news:O#Wip3czIHA.5892@TK2MSFTNGP02.phx.gbl...

>> VanguardLH wrote:

>>> "Jeff@unknown.com" wrote in

>>> <news:eJKGtlazIHA.4876@TK2MSFTNGP04.phx.gbl>:

>>>

>>>> I use a program "Notepad2.exe" to work on my text files. Since I

>>>> installed SP3 when I click on a .txt file it opens in Microsoft's

>>>> built-in Notepad. I thought it would be simple to change the

>>>> association by going to Tools\Folder Options\File Types and change

>>>> txt to Notepad2.exe, but to my surprise, I could find no .txt

>>>> definition to change. I know I could add it but did not wish to

>>>> mess things up. Can I just add a new txt to associate with

>>>> Notepad2.exe or will that break something?

>>>>

>>>> Also what is the difference between TXF (that I found associated

>>>> with MS Notepad) and TXT (which I did not find)?

>>>

>>> In Windows Explorer, right-click on a .txt file.

>>> Select "Open With" from context menu, then select "Choose Program".

>>> Pick whatever application you want to use to open the .txt file.

>>>

>>> Remember to enable the "Always use the selected program" checkbox.

>>>

>>>

>>> You'll have to use a hex editor on the .txf file if it isn't a

>>> plain-text file that Notepad can show. Might indicate what app

>>> creates that filetype.

>>

>> Thank you so much. That did it. I had forgotten that way of doing

>> it.

>>

>> My txt files are all plain-text ASCII files and the program I wanted

>> to associate them with, Notepad2.exe, is an enhanced version of

>> Notepad that has some additional capabilities I use.

>>

>> Thank you again.

>>

>> Jeff


×
×
  • Create New...