Coffee v0.1 R3

Andrew Lee on 12 Feb 2013
  • 285KB (uncompressed)
  • Suggested by XPect

Coffee takes over for the default behavior of your computer when you double-click on a file, redirecting it to an application of your choice. The program supports relative pathways making it work together with other portable applications. Additionally, the program can be configured to open another associated program by holding ALT while double-clicking.

A custom association file can be found here which includes over 400 unique file extensions for use with 9 popular portable applications.

Alternatives include CAFE and CAFE Mod, upon which Coffee is based.

For C.A.F.E. users: website and even the instructions are in French, but you can change the default interface language to English by right-clicking on the system tray icon, then select "English" under Preferences, Language Choice.

System Requirements: Win2K / WinXP
Writes settings to: Application folder
Stealth: ? No
Unicode support: No
Path portability: Automatic relative path (eg. ..\..\personal\work.doc)
License: GPL
How to extract: Download the ZIP package and extract to a folder of your choice. Launch cafe.exe.

41 comments on Coffee  The Portable Freeware Collection Latest Entries Feed

CJsDen 2007-07-04 07:20

I've been using this program for a month now and love it. My only wish is that its functionality could be combined into one app with PStart.

Great App!

Mancubus 2007-07-04 07:31

It's a bad idea to have the default language other than English at all.

But the idea is brilliant. I will spend time to set it up correctly. Way too bad that instructions are only in French, too.

rtfm 2007-07-04 07:47

download the zip-version.
if you can't select english put cafe.ini in installation-directory and put the follwing text inside:


Lurker One 2007-07-05 07:50

Why does everyone assume that English should be the language of choice? Before long we will all need to be fluent in Spanish and Chinese if we expect to succeed at much of anything.

Local 2007-07-11 04:21

I was wondering if this was possible for ages before finding this app.
It feels like home now using anyone's pc.

I just wish it could be used through file managers other than windows explorer.
It also doesn't work through Q-sel or with files from zip archives.

tpr 2007-07-15 06:20

This app really rocks! If you put this into the cafe.ini file, you can use it in Total Commander and Directory Opus:

fenetresadditionnelles=ahk_class TTOTAL_CMD, ahk_class dopus.lister

wan 2007-07-19 15:02

Can it be made to work with explorer2?

wan 2007-07-19 15:23

Found references from AutoHotKey site and this works for xplorer2:

fenetresadditionnelles=ahk_class ATL:ExplorerFrame

Local 2007-07-24 11:03

Ok, what am I still doing wrong?
I have this working with freecommander from the note in the original forum.

I've been using au3 spy to get the window ahk names but they still aren't working for me.

I'm sure I'm making a stupid mistake here any care to shed some light for me?

My codes so far are.

fenetresadditionnelles=ahk_class TfcForm, ahk_class ThunderRT5Form, ahk_class TfMain,

These should be for freecommander, XY explorer and altcommander

Yann 2007-08-16 02:19

Well, you did not make any stupid mistake, adding other file manager is still in alpha stage, as some of them won't work properly with C.A.F.E. (mostly because they don't return the full file path when you hit Ctrl+C)
after testing, it seems that altcommander doesn't work with C.A.F.E. The other two should be fine.

Ludwig Hagen 2007-09-28 13:29

Love this tool, exactly what i have searched for! I am using FreeCommander, and the settings above seems to work well :)! Please keep up to date useability with FreeCommander ;)!
~ LH ~ Germany

Ludwig Hagen 2007-09-28 15:00

PS: Yes, a integration in "PStart" would be very nice, because then its possible to open some important documents with PStart directly, without commander...

Banshee 2007-10-23 15:30

I absolutely love this program but am having some anomalies with it. It doesnt always use the set app to open a file, but the system default. I dont know if this is releated to the double click setting, tbh I dont even know whats thats for!

Also, I find when closing explorer windows using double click on the top left icon of the window, cafe often opens the last file I opened again? This does not happen if I close the window with the top right close icon.

opsimathic 2007-10-31 04:40

I am enjoying using this tool with freecommander using the configuration (fenetresadditionnelles=ahk_class TfcForm)- my prefered file manager is tabbyfile ( - does anyone know if tabbyfile works with C.A.F.E. and if so, what configuration code to use?
Many thanks!

dan 2007-10-31 10:48

you can use to translate instructions

C.A.F.E. : Associations Files Executables

As long as it is active, C.A.F.E. allows you to open your documents with present nomadic software on your key usb of a double click, without touching on the register basis.

Add or modify an association is done of a simple Win+clic on a file. Software will ask you then with which program you wish to open the files of this type.

Of more, you can define alternate associations while using the combination Alt+Win+clic on a file to open. These associations will be used when you will do a double click on a file in now touches it sunk Alt.

The defined associations are recorded in the form of a relative way in a file ini, in the software file. C.A.F.E. is therefore perfectly nomadic and discreet.

A straight click on the icon of Coffee in the task bar will allow you to open his menu. This one allows attaining the software documentation (this file), to his license, as well as to the adjustabilitys of the préferences.

C.A.F.E. is distributed under license GNU GPL

maxxx 2007-12-31 03:10

This is a great application! I have translated the instructions - hopefully they are slightly more readable than the machine translation helpfully provided by dan.

C.A.F.E. : File associations 4 Executables

When C.A.F.E. is running it enables you to open your files with the portable applications on your USB key with a double click, without modifying the registry.

To add or modify an association simply Win+Click on a file. The application will ask you with which programme you wish to open files of this type.

Additionally you can define alternative associations using a combination of Alt+Win+Click on a file you want to open. These associations will be used when you double click on a file whilst holding down the Alt key.

The associations that have been defined are stored as a relative path in a .ini file in the application's folder. C.A.F.E. is therefore perfectly portable and inconspicuous.

A right click on the icon in the task bar opens a menu. This allows you to open the help file (the same as this file), licence details, as well as setting your preferences.

C.A.F.E. is distributed under the GNU GPL licence

BDixon 2008-01-18 07:43

I have just installed this, and already I love it. However, I notice that it seems to only associate files when you click on them in Explorer. In other words, "Start / My Documents / click on file.doc" brings up Word, not OpenOffice, like I've configured in C.A.F.E.

Am I doing something wrong? Is there another step? Or is this just something missing from the program's features?

Ben 2008-01-27 11:03

Great idea, but this program doesn't catch every double-click (even after setting sensitivity - for those who care about stealth). When it doesn't, the normal Windows app association is launched. [Win+click] will work every time, though. Seems more development needed.

Ben 2008-01-27 11:19

The other program on this site, S.U.C.R.E, works well with C.A.F.E. If you copy it to your C.A.F.E. folder, it will serve as a substitute for "Start->Run...", executing any file you choose with the program associations defined by C.A.F.E.

User 2008-04-20 16:11

When you click twice on something, you want YOUR preferred programs to open it. Windows can't switch you back to another default editor while CAFE is running. I overlooked this great program as too difficult until I came across an easy trick:

1. Click the "automatically associate programs" option under "preferences". While checked, this feature will allow you to open various different file formats on your computer and allow you to automatically set your associations.

2. Once you have a few of the programs you use daily, goto "edit configuration file" and add a few extra file extensions. So if you like OpenOffice to open all Microsoft office formats, take this line:


... and just change the first THREE characters for excel (xls) and powerpoint (ppt). Like these:


3. Paste, change, save, and then uncheck "automatic associations" with the same process as listed in step one. All set for a much better Portable Programs experience.

rbstv 2008-08-06 10:25

is there a way to get cafe to work with the 7zip explorer?

General Perez 2009-05-15 11:48


? Does C.A.F.E. work with VISTA and >>> WINDOWS 7, too ???


Webfork 2009-06-17 13:39

A list of cafe config files for other programs on

bro 2009-09-24 12:11

There is a new version of original CAFE and it's the best of all. It has hotkeys, portable context menu(double right click or middle click or Win+Right click), portable recycle bin and much more...

the_watcher 2009-11-16 10:42

this program looks good, but i can't get it to work. I've also tried the new version that bro suggested, but when i double click the normal windows app is launched..can anyone help?

the_watcher 2009-11-16 10:50

UPDATE:i've tried coffee(the link is in the synopsis section above) and it works!!! recommended!

I 2009-12-04 17:47

You're kidding?
COFFEE works according to you? Well enlighten me please.
As far as I know the program is useless because file associations on the PC always take prevalence whatever you do.
At best it takes two times activating a file of whatever type before COFFEE kicks in.
And yes I did the window name learning routine.
Too bad...

I 2009-12-09 16:15

OK, I'll answer my question myself.
COFFEE does work, but in order to achieve this you've to select the file you want to start and then do a double click on the bean icon (so not on the file you like to start and that you've selected earlier).

This is a rather unusual approach, however, but it does work.

Steve 2010-02-21 19:41

Re: Coffee (I know this is for C.A.F.E. but I can't find a Coffee forum), I've set my .avi extension to open with KMPlayer. Interestingly, some of my .avi files open with KMPlayer and others don't. And it's always the same file - e.g. my Transformers 2 ROTF always opens with Windows Media Player. Any ideas why that is?

the_watcher 2010-03-24 09:13

shouldn't we also add eXpresso here too?
CAFE Mod has been renamed eXpresso and is being developed under that name..check it here

Foot 2010-08-26 13:56

The download link (at 2010.08.26) offers The website has coffee.exe.

webfork 2010-08-26 17:31

Thanks foot. Download link updated.

Woratep 2010-08-27 01:31

How to make this program starts with windows?

Giamo 2010-08-27 07:16

Thanks Lupo73 for updating this great program! I loved it while I was still using Windows Explorer. Unfortunately it doesn't work with CubicExplorer, my all-time-favourite file browser. Any ideas on how to make it work?

brontofuziq 2011-02-24 22:35

this is really great app but it lacks one important thing: option to changed "hard-wired" Coffee shortcuts as they are in conflicts with ones I am using for many years but cannot now - can you please add this option to Coffee??? :-(

V0.1 R3

webfork 2011-02-25 18:37

brontofuziq: the developer of this software is frequently on the forums, but I'd recommend describing your issue in a little more detail (in the forums).

V0.1 R3

brontofuziq 2011-02-26 23:50

@WEBFORK: what? what do you need to describe more about this? LOL, simply put: please add option to set up key shortcuts for Coffee manualy - that's it my friend, nothing more to add here.

V0.1 R3

Ralf 2011-02-27 14:39

@brontofutwitz: Social skills, Comprehension skills, Manners ; Ask you mom to install these

V0.1 R3

Kaleb 2011-04-02 05:00

@brontofuziq: open the cafe.ahk file in the src directory in notepad (or preferred text editor) then search until you find the shortcut you wish to change (! means ALT, ^ means CTRL, and # means WIN. so !#w would correspond to ALT+WIN+w) then change it to what you want and save it. Then download AutoHotkey from this site, unzip it and use it to compile the .ahk file you edited. The resulting cafe.exe file is the one you need to move and replace the original with.

You may have to search for your shortcut in the other .ahk files as well just to be sure.

You will lose the icon unless you want to get even more involved with the compilation, in which case I suggest you research that yourself.

V0.1 R3

Kaleb 2011-04-02 14:58

Also + means SHIFT.

V0.1 R3

brontofuziq 2011-04-08 12:29

@Kaleb: OK, I understood it but would be much much much easier just to add this option into the Coffee avoiding this compilation provess, for example in some .txt file or in Coffee.ini file as a new section (named "shortcuts" or something like that) so there would be no need for any programming skills for those of us that needs this important change...or even better - as the app itself got its own GUI for anything else like editing file extensions etc. it'd be great having such GUI for shortcuts as well...

Anyway thanks a lot for your help

V0.1 R3

Post your comment