<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/css" href="http://andlinux.org/wiki/skins/common/feed.css?116"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://andlinux.org/wiki/index.php5?title=Howto:_user-defined_file_associations&amp;feed=atom&amp;action=history</id>
		<title>Howto: user-defined file associations - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://andlinux.org/wiki/index.php5?title=Howto:_user-defined_file_associations&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://andlinux.org/wiki/index.php5?title=Howto:_user-defined_file_associations&amp;action=history"/>
		<updated>2013-06-20T06:48:18Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.12.0</generator>

	<entry>
		<id>http://andlinux.org/wiki/index.php5?title=Howto:_user-defined_file_associations&amp;diff=257&amp;oldid=prev</id>
		<title>Joachim at 19:21, 4 May 2009</title>
		<link rel="alternate" type="text/html" href="http://andlinux.org/wiki/index.php5?title=Howto:_user-defined_file_associations&amp;diff=257&amp;oldid=prev"/>
				<updated>2009-05-04T19:21:03Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;

			&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;tr&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;←Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 19:21, 4 May 2009&lt;/td&gt;
			&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;= How to create your own file associations =&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Since Beta 2 rc1 andLinux Launcher contains a special launcher called &amp;lt;tt&amp;gt;andApp.exe&amp;lt;/tt&amp;gt;. 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.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Since Beta 2 rc1 andLinux Launcher contains a special launcher called &amp;lt;tt&amp;gt;andApp.exe&amp;lt;/tt&amp;gt;. 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.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Joachim</name></author>	</entry>

	<entry>
		<id>http://andlinux.org/wiki/index.php5?title=Howto:_user-defined_file_associations&amp;diff=256&amp;oldid=prev</id>
		<title>Joachim: andApp file assocition howto</title>
		<link rel="alternate" type="text/html" href="http://andlinux.org/wiki/index.php5?title=Howto:_user-defined_file_associations&amp;diff=256&amp;oldid=prev"/>
				<updated>2009-05-04T19:19:51Z</updated>
		
		<summary type="html">&lt;p&gt;andApp file assocition howto&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= How to create your own file associations =&lt;br /&gt;
&lt;br /&gt;
Since Beta 2 rc1 andLinux Launcher contains a special launcher called &amp;lt;tt&amp;gt;andApp.exe&amp;lt;/tt&amp;gt;. 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.&lt;br /&gt;
&lt;br /&gt;
== How to create a custum file association ==&lt;br /&gt;
&lt;br /&gt;
Copy the following template into a new textfile and change its suffix from &amp;lt;tt&amp;gt;.txt&amp;lt;/tt&amp;gt; to &amp;lt;tt&amp;gt;.reg&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;Windows Registry Editor Version 5.00&lt;br /&gt;
 [HKEY_CLASSES_ROOT\.&amp;lt;b&amp;gt;ext&amp;lt;/b&amp;gt;]&lt;br /&gt;
 @=&amp;quot;&amp;lt;b&amp;gt;ext&amp;lt;/b&amp;gt;file&amp;quot;&lt;br /&gt;
 [HKEY_CLASSES_ROOT\&amp;lt;b&amp;gt;ext&amp;lt;/b&amp;gt;file]&lt;br /&gt;
 @=&amp;quot;&amp;lt;b&amp;gt;File Type Description&amp;lt;/b&amp;gt;&amp;quot;&lt;br /&gt;
 [HKEY_CLASSES_ROOT\&amp;lt;b&amp;gt;ext&amp;lt;/b&amp;gt;file\DefaultIcon]&lt;br /&gt;
 @=&amp;quot;C:\\Program Files\\andLinux\\Launcher\\andApp.exe,0&amp;quot;&lt;br /&gt;
 [HKEY_CLASSES_ROOT\&amp;lt;b&amp;gt;ext&amp;lt;/b&amp;gt;file\shell]&lt;br /&gt;
 [HKEY_CLASSES_ROOT\&amp;lt;b&amp;gt;ext&amp;lt;/b&amp;gt;file\shell\open]&lt;br /&gt;
 [HKEY_CLASSES_ROOT\&amp;lt;b&amp;gt;ext&amp;lt;/b&amp;gt;file\shell\open\command]&lt;br /&gt;
 @=&amp;quot;\&amp;quot;C:\\Program Files\\andLinux\\Launcher\\andApp.exe\&amp;quot; \&amp;quot;&amp;lt;b&amp;gt;my_cmd&amp;lt;/b&amp;gt;\&amp;quot; \&amp;quot;%1\&amp;quot;&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace all occurrances of &amp;lt;tt&amp;gt;ext&amp;lt;/tt&amp;gt; by the file extension, for which you want to define an association, e.g. &amp;lt;tt&amp;gt;conf&amp;lt;/tt&amp;gt;, and &amp;lt;tt&amp;gt;my_cmd&amp;lt;/tt&amp;gt; by the Linux command to run your desired application, e.g. &amp;lt;tt&amp;gt;emacs --no-splash&amp;lt;/tt&amp;gt;. Note that your andLinux installation path may differ! Finally merge this file into the Windows Registry by double clicking.&lt;br /&gt;
&lt;br /&gt;
== How to create a custum context menu command ==&lt;br /&gt;
&lt;br /&gt;
Copy the following template into a new textfile and change its suffix from &amp;lt;tt&amp;gt;.txt&amp;lt;/tt&amp;gt; to &amp;lt;tt&amp;gt;.reg&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;Windows Registry Editor Version 5.00&lt;br /&gt;
 [HKEY_CLASSES_ROOT\*\shell\and&amp;lt;b&amp;gt;MyProg&amp;lt;/b&amp;gt;]&lt;br /&gt;
 @=&amp;quot;&amp;lt;b&amp;gt;MyProg&amp;lt;/b&amp;gt; (andLinux)&amp;quot;&lt;br /&gt;
 [HKEY_CLASSES_ROOT\*\shell\and&amp;lt;b&amp;gt;MyProg&amp;lt;/b&amp;gt;\command]&lt;br /&gt;
 @=&amp;quot;\&amp;quot;C:\\Program Files\\andLinux\\Launcher\\andApp.exe\&amp;quot; \&amp;quot;&amp;lt;b&amp;gt;my_cmd&amp;lt;/b&amp;gt;\&amp;quot; \&amp;quot;%1\&amp;quot;&amp;quot;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace all occurrances of &amp;lt;tt&amp;gt;MyProg&amp;lt;/tt&amp;gt; by a unique name of your choice, e.g. &amp;lt;tt&amp;gt;Emacs&amp;lt;/tt&amp;gt;, and &amp;lt;tt&amp;gt;my_cmd&amp;lt;/tt&amp;gt; by the Linux command to run your desired application, e.g. &amp;lt;tt&amp;gt;emacs --no-splash&amp;lt;/tt&amp;gt;. Note that your andLinux installation path may differ! Finally merge this file into the Windows Registry by double clicking.&lt;br /&gt;
&lt;br /&gt;
To define a command for the context menu of folders, you need this template instead:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;tt&amp;gt;Windows Registry Editor Version 5.00&lt;br /&gt;
 [HKEY_CLASSES_ROOT\Folder\shell\and&amp;lt;b&amp;gt;MyProg&amp;lt;/b&amp;gt;]&lt;br /&gt;
 @=&amp;quot;&amp;lt;b&amp;gt;MyProg&amp;lt;/b&amp;gt; (andLinux)&amp;quot;&lt;br /&gt;
 [HKEY_CLASSES_ROOT\Folder\shell\and&amp;lt;b&amp;gt;MyProg&amp;lt;/b&amp;gt;\command]&lt;br /&gt;
 @=&amp;quot;\&amp;quot;C:\\Program Files\\andLinux\\Launcher\\andApp.exe\&amp;quot; \&amp;quot;&amp;lt;b&amp;gt;my_cmd&amp;lt;/b&amp;gt;\&amp;quot; \&amp;quot;%1\&amp;quot;&amp;quot;&amp;lt;/tt&amp;gt;&lt;/div&gt;</summary>
		<author><name>Joachim</name></author>	</entry>

	</feed>