Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#163217 - 28/05/2003 15:38 Tip: Associating files without a file extension.
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31604
Loc: Seattle, WA
I depend upon my text editor UltraEdit to open many types of ASCII and even some binary files for editing. I do this by double-clicking on the file name in Windows explorer. For example, when I double-click on a file with the name of FILENAME.TXT, it automatically runs UltraEdit because I've associated TXT files with UltraEdit.

I have also associated a bunch of other file types with UltraEdit, such as LOG and RPT, because those are also ascii files with a different file extension. I have even associated files named ME and 1ST because I sometimes get files inside of zips named READ.ME or README.1ST and I want those to open in UltraEdit as well.

However, I have always run into one problem, which is that sometimes I have a file with no file extension. For instance, when I get a unix software package, its readme file has no file extension. The file is just named README with nothing at the end.

Windows won't automatically associate a file without an extension. When I double-click on README, it says "what program would you like to use to open this file" and it lets me select UltraEdit. However, the little checkbox of "always use this program to open files of this type" is grayed out.

I wanted a way to associate "no file extension" with UltraEdit. I finally found out how in a Microsoft Knowledge Base article, while I was stumbling around looking for something unrelated.

Here's how you do it. You associate with the extension of .
(Just a period)

I did it by hand-editing the registry, but I think it might be doable in the "File Types" dialog, too. Do it like this:

REGEDIT4 


[HKEY_CLASSES_ROOT\.\shell\open\command]
@="D:\\utils\\UEDIT32.EXE \"%1\""

You could do this for any program. For instance, you could do the same for Wordpad if that's what you prefer:

REGEDIT4 

[HKEY_CLASSES_ROOT\.\shell\open\command]
@="wordpad.exe \"%1\""

Does anyone else find this extrememly useful?
_________________________
Tony Fabris

Top
#163218 - 28/05/2003 21:49 Re: Tip: Associating files without a file extension. [Re: tfabris]
Dignan
carpal tunnel

Registered: 08/03/2000
Posts: 12345
Loc: Sterling, VA
I wouldn't suggest trying it though File Types. If you enter nothing, it asks you to enter something. If you enter a '.' it causes some trouble. At least on my system, it listed a new file association that was called something like FT00001, and clicking on the advanced tab does nothing, and the new association is not deletable.

I haven't tried your method yet, Tony.
_________________________
Matt

Top
#163219 - 28/05/2003 21:57 Re: Tip: Associating files without a file extension. [Re: Dignan]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31604
Loc: Seattle, WA
Yuck, sorry about the problem in the File Types dialog.

On my win2k system, I seem to have some garbage in that list of file types, too. But those were there for years, long before I tried this....
_________________________
Tony Fabris

Top
#163220 - 29/05/2003 04:31 Re: Tip: Associating files without a file extension. [Re: tfabris]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
Normally, I just wedge an extra item in the "Send To" menu -- that way, I can open any file with (in my case) TextPad, associated or not.
_________________________
-- roger

Top
#163221 - 29/05/2003 05:26 Re: Tip: Associating files without a file extension. [Re: Roger]
Shonky
pooh-bah

Registered: 12/01/2002
Posts: 2009
Loc: Brisbane, Australia
Of course Textpad allows you to add directly to the right click (context) menu. Saves me the one extra step of going through the Send To menu.
_________________________
Christian
#40104192 120Gb (no longer in my E36 M3, won't fit the E46 M3)

Top
#163222 - 29/05/2003 06:51 Re: Tip: Associating files without a file extension. [Re: Shonky]
h_blake
stranger

Registered: 22/05/2001
Posts: 50
Loc: Bedford, UK
UltraEdit also adds an entry to the context menu IIRC.


Edited by h_blake (29/05/2003 06:52)
_________________________
______ Henrick Bedford, UK Mk2a 10+30gig Mk2 18gig(RIP) backup

Top
#163223 - 29/05/2003 10:35 Re: Tip: Associating files without a file extension. [Re: Roger]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31604
Loc: Seattle, WA
Yeah, I've got a bunch of fun stuff in the Send To menu as well. Also, I keep a shortcut to UltraEdit easily reachable in the corner of my desktop so I can drag any file onto it at any time (even those not associated with it, like an MP3 file). So I had plenty of ways to open these "no-extension" files. My gripe was being unable to associate a default "open" function for doubleclick. Now I can.
_________________________
Tony Fabris

Top
#163224 - 29/05/2003 11:52 Re: Tip: Associating files without a file extension. [Re: tfabris]
Fastrack
member

Registered: 29/10/2001
Posts: 137
Loc: Toronto, Ontario Canada
When installing UltraEdit there's an option to put it on the right click menu!

It'll appear there for ANY FILE type! Just incase you didn't know.
_________________________
Ben Rio Car 10GB + 60GB Toshiba ([green]Green[/green]) - Serial # 30102833

Top
#163225 - 29/05/2003 12:51 Re: Tip: Associating files without a file extension. [Re: tfabris]
cwillenbrock
enthusiast

Registered: 30/12/2000
Posts: 249
Loc: Dover, NJ
Great tip. Thanks, Tony
_________________________
- Chris Orig. Empeg Queue position 2

Top
#163226 - 29/05/2003 15:04 Re: Tip: Associating files without a file extension. [Re: Fastrack]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31604
Loc: Seattle, WA
When installing UltraEdit there's an option to put it on the right click menu!
I'm running a pretty old version of U.E., so I probably don't have that.
_________________________
Tony Fabris

Top