file association with no extension

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

Mike Uglow

Can you use file association with a file that doesn't
have an extension in it's name, we need to use notepad to
open files our mainfame creates. These files are created
without extensions, so in turn we have to go through the
list an choose notepad to open the file each time, we
would like to be able to double click the file and have
notepad open.

Thanks,
Mike
 
For some reason this sounds like giving a kid a first
name and no family name... and then asking a computer
to keep track of him/her.
What format are these files in? Are they text files,
images, spreadsheets, or what?
z ---------------------------------------------------
 
No, I can't think of a way - but could you not just create shortcuts?

notepad <full path to file>

I don't think you can even use right click | open with, if there's no
extension, unfortunately.
 
I think that was possible with windows98.
Now you can probably do it through the registry.

press START>RUN type regedit and press enter

then search for .txt

you will probably find notpad associated with it.
So you can create another entry for no extension.

this is theoretical I have never done it though.....

--

Hope this helps. Let us know.
_____________
Kenny S
http://www.computerboom.net
FREE programs and MORE!

---
 
zag said:
For some reason this sounds like giving a kid a first
name and no family name... and then asking a computer
to keep track of him/her.

I know one guy who keeps track of Madonna.

Before her, he kept track of Cher.

Before Cher, he doted on Capucine. (For newcomers:
http://www.marciniak.com/cap/cap.html)

Then there are files with no first names (ie: .xxx) such as

Mr Rogers
Capt Kangaroo
Spiderman
 
yeah that was what I was thinking about!

I didnt remember seeing that one on your page, but there are so many....

--

Hope this helps. Let us know.
_____________
Kenny S
http://www.computerboom.net
FREE programs and MORE!

---
 
Mike said:
Can you use file association with a file that doesn't
have an extension in it's name, we need to use notepad to
open files our mainfame creates. These files are created
without extensions, so in turn we have to go through the
list an choose notepad to open the file each time, we
would like to be able to double click the file and have
notepad open.

To amplify on the method Kelly puts forward.. Just as a reference to
extension xyz appears in the registry in
HKEY_CLASSES_ROOT\.xyz
so those for files with *no* extension appear under
HKEY_CLASSES_ROOT\.
- just the period with nothing after it. So you can copy the
associations of another extension into it. If for example you do a
File - Export in regedit.exe of HKEY_CLASSES_ROOT\.txt (use the
alternative file type Win9x/NT registry files rather than the default
one), then you can edit it to change the .txt to . throughout and
re-import to make these files behave exactly as txt ones currently do
 

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

Back
Top