ASSOC and FTYPE for Unknown or NO extension not working

W

Wolfgang Hercker

I want to associate all currently Unknown /unspecified extensions (e.g. *.ttt)
or files WITHOUT an extension to an editor.

ASSOC Unkown=mytxtfile
FTYPE mytxtfile=D:\pathtomyeditor\editor.exe "%1"

Does NOT work. Same with

ASSOC =mytxtfile
FTYPE mytxtfile=D:\pathtomyeditor\editor.exe "%1"

or

ASSOC *.*=mytxtfile
FTYPE mytxtfile=D:\pathtomyeditor\editor.exe "%1"

So again: How do I associate file openings of files like

myfile.ttt
or
myfile

to an editor D:\pathtomyeditor\editor.exe

?

Wolfgang
 
R

Ramesh, MS-MVP

Associating "Unknown" file types with an application, causes a side-effect.
Read more about it here.

Clicking the "Open With" or "Choose Program..." option always opens the file
with Notepad?:
http://windowsxp.mvps.org/openas.htm

For the 2nd part, see here:

How to associate Notepad to open files with no extension:
http://www.winhelponline.com/articl...-Notepad-to-open-files-with-no-extension.html

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


I want to associate all currently Unknown /unspecified extensions (e.g.
*.ttt)
or files WITHOUT an extension to an editor.

ASSOC Unkown=mytxtfile
FTYPE mytxtfile=D:\pathtomyeditor\editor.exe "%1"

Does NOT work. Same with

ASSOC =mytxtfile
FTYPE mytxtfile=D:\pathtomyeditor\editor.exe "%1"

or

ASSOC *.*=mytxtfile
FTYPE mytxtfile=D:\pathtomyeditor\editor.exe "%1"

So again: How do I associate file openings of files like

myfile.ttt
or
myfile

to an editor D:\pathtomyeditor\editor.exe

?

Wolfgang
 
W

Wesley Vogel

Here's an easier way.

Right click a *.ttt file, point to Open With and then click Choose Program.

Programs lists the programs that Windows has registered. Click the program
you want to use to open the selected file. If the program you want is not
on this list, click Browse.

To ensure that Windows always uses the same program to open the file, or any
other file with the same file name extension, in the Open With dialog box,
select the Always use this program to open these files check box.

Browse button
[[Click to choose another program. You'll be able to browse through the
folders on your computer.]]

Always use this program to open these files
[[Specifies that the next time you open this file, or any other file having
the same file name extension, you want Windows to use the program that you
specify here.]]

Do the same for a no extension file.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 

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