Howto: user-defined file associations

From andLinux

Revision as of 19:19, 4 May 2009

How to create your own file associations

Since Beta 2 rc1 andLinux Launcher contains a special launcher called andApp.exe. The following sections describe how to create associations for a certain file type and how to create a context menu command for all file types.

How to create a custum file association

Copy the following template into a new textfile and change its suffix from .txt to .reg:

Replace all occurrances of ext by the file extension, for which you want to define an association, e.g. conf, and my_cmd by the Linux command to run your desired application, e.g. emacs --no-splash. Note that your andLinux installation path may differ! Finally merge this file into the Windows Registry by double clicking.

How to create a custum context menu command

Copy the following template into a new textfile and change its suffix from .txt to .reg:

Replace all occurrances of MyProg by a unique name of your choice, e.g. Emacs, and my_cmd by the Linux command to run your desired application, e.g. emacs --no-splash. Note that your andLinux installation path may differ! Finally merge this file into the Windows Registry by double clicking.

To define a command for the context menu of folders, you need this template instead: