I have a usb stick with PortableApps that I carry around between different places.

But one thing that annoys me, is when I open a file (such as *.flv or *.html), either Windows says it is unsupported or it opens a program that I do not want to use (eg Win.M.P.), while I have the "correct" program (that I want to use) on my USB drive.

Is there any portable program that can associate my "unsupported" files when I execute just one/a few program/s?

(I was about to use ftype and assoc on a batch file, but it requires administrator privileges, so that doesn't seem to be the best solution.)


I use a lot of portable apps, and I use two programs especially made for this. They both do the same thing, but in different ways.

eXpresso (made using AutoHotkey) intercepts mouse clicks and changes the action to open whichever program that you associate the file type with.

Portable File Associator (made using AutoIt) makes file association entries in the HKCU registry hive, which does not need admin rights, and it can be set to remove them when the program is exited. I prefer this one, as it can also be made to make the entries and then exit without removing the associations, which is useful on my own computers (the instructions for more advanced use are in a file somewhere in the program folder). The way it works also allows you to define icons to the file types. When you download this program, the password for the archive file is in the file name.

Programs made using AutoIt and AutoHotkey can sometimes get flagged as viruses by anti-virus programs, as viruses have been made using them, but these programs are totally safe.


Here is what I use, which might be overcomplicated:

  • Have a batch file on the USB drive that maps its folder to the Q: or another drive letter (subst Q: "%~dp0" basically)
  • Use a portable explorer with custom file associations. I use FreeCommander; under “Extras, Preferences, Programs” you can set custom programs to open when hitting F4 on your files, depending on their extension. I have mapped 7z,zip,tar,etc. to 7zip-portable for example. So all you have to do is set the editor to Q:\7z-portable\7zportable.exe and that's all.