Page 1 of 1

Dumb newby question seeks tolerant old-timer ...

Posted: 25 Jun 2009 19:24
by HarryR
I'm trying to set up these lovely portable file associations the way I want them.
I particularly like being able to put two entries for .htm, so if I press Enter on a .htm file, it launches Firefox, but if I press AltGr-Enter, I can select to launch the htm in Notepad.

I'm now trying to do the same thing for batch files, .bat. Naturally, it is easy to set up the secondary association, with Notepad.
My question is, how do I tell the Portable File Associator to do the primary association, i.e., to run the batch file ?

Re: Dumb newby question seeks tolerant old-timer ...

Posted: 25 Jun 2009 19:33
by admin
Running the BAT should be the default anyway (see screenshot), so you don't have to do anything. Just cover your other BAT association with a prefixed "|" (pipe) so that it is not triggered on Enter.

Like this:
|bat>Notepad

EDIT: WOW, why is my screenshot blurred??? :?

Re: Dumb newby question seeks tolerant old-timer ...

Posted: 25 Jun 2009 19:52
by HarryR
Excellent, thank you.
At the risk of asking too much, is it possible to have these portable file associations appear in the right-click context menu ?

Re: Dumb newby question seeks tolerant old-timer ...

Posted: 25 Jun 2009 20:22
by admin
No. :)