<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>blog.haraldkraft.de &#187; file association</title>
	<atom:link href="http://blog.haraldkraft.de/tag/file-association/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.haraldkraft.de</link>
	<description>Blog Project of Harald Kraft</description>
	<lastBuildDate>Thu, 08 Jul 2010 20:32:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Disable compressed folders in Windows Vista and Windows 7</title>
		<link>http://blog.haraldkraft.de/2009/10/disable-compressed-folders-in-windows-vista-and-7/</link>
		<comments>http://blog.haraldkraft.de/2009/10/disable-compressed-folders-in-windows-vista-and-7/#comments</comments>
		<pubDate>Sun, 18 Oct 2009 22:47:37 +0000</pubDate>
		<dc:creator>Harald Kraft</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[compressed folder]]></category>
		<category><![CDATA[file association]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.haraldkraft.de/?p=87</guid>
		<description><![CDATA[When you&#8217;re using an &#8220;external&#8221; tool for handling ZIP archive file (and the likes), it can be really annoying when you double-click on such a file in Windows Explorer (or other file browsers) and Windows treats the file as a compressed folder and doesn&#8217;t start the external application even though file associations are correctly set. [...]]]></description>
			<content:encoded><![CDATA[<p>When you&#8217;re using an &#8220;external&#8221; tool for handling ZIP archive file (and the likes), it can be really annoying when you double-click on such a file in Windows Explorer (or other file browsers) and Windows treats the file as a compressed folder and doesn&#8217;t start the external application even though file associations are correctly set.</p>
<p>Some tuning tools like XP-Antispy are able to disable the functionality of compressed folders, however it didn&#8217;t work for me on Vista the last time I tried.<br />
After a while of research I found the solution how to edit the registry, so that double-clicking associated files will truly be opened with the external application:</p>
<p><span id="more-87"></span><br />
Deleting the following two registry keys and restarting Windows will disable compressed folders (or &#8220;Komprimierte Ordner&#8221; as they are called in the German Windows):</p>
<blockquote><p>
HKEY_CLASSES_ROOT\CLSID\{E88DCCE0-B7B3-11d1-A9F0-00AA0060FA31}</p>
<p>HKEY_CLASSES_ROOT\CLSID\{0CD7A5C0-9F37-11CE-AE65-08002B2E1262}
</p></blockquote>
<p>I found the solution <a href="http://blog.haraldkraft.de/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5hbm5veWFuY2VzLm9yZy9leGVjL3Nob3cvYXJ0aWNsZTAzLTIwMg==">here</a>, where you will find .reg files for automated removal (and adding the keys back to the registry).</p>
<p>After you reboot, compressed folders should be turned off.</p>
<p><strong><em>Update 04/14/2010:</em></strong><br />
As pointed out by Mark, the above instructions don&#8217;t fully work in Windows 7 due to some permission restrictions. Here are the additional steps you need to do in Windows 7 (credit goes to <a href="http://blog.haraldkraft.de/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2NvZGVzb2NpZXR5LmNvbS8yMDA5LzA3LzI3L2Rpc2FibGUtemlwLWZvbGRlcnMtaW4td2luZG93cy03LXZpc3RhLXhwLw==">James</a>):</p>
<ul>
<li>Right-click &#8220;Permissions&#8221; on the two keys mentioned above when browsing the registry editor</li>
<li>Click &#8220;Advanced&#8221;, tab &#8220;Ownership&#8221; and select your username (which needs to be an administrator)</li>
<li>Check &#8220;Replace owner on subcontainers and objects&#8221; and click &#8220;OK&#8221;</li>
<li>Back in the permissions, select your username (or &#8220;Add&#8230;&#8221; it if it&#8217;s missing) and grant &#8220;Full Control&#8221;</li>
</ul>
<p>Now you can delete the key(s) after you have performed those steps (for each key).</p>
<p><strong><em>Update 05/20/2010:</em></strong><br />
One user reported his screen went black (on his laptop) after applying the .reg files (under Vista). I don&#8217;t know whether there&#8217;s a direct connection or whether it was just coincidence, but he let me know that after a (manual) reboot, everything was fine again &#8211; including compressed folders being disabled.</p>
 <img src="http://blog.haraldkraft.de/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=87" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.haraldkraft.de/2009/10/disable-compressed-folders-in-windows-vista-and-7/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>File association for certain filenames without file extension under Windows</title>
		<link>http://blog.haraldkraft.de/2009/07/file-association-for-certain-filenames-without-file-extension-under-windows/</link>
		<comments>http://blog.haraldkraft.de/2009/07/file-association-for-certain-filenames-without-file-extension-under-windows/#comments</comments>
		<pubDate>Fri, 24 Jul 2009 20:55:33 +0000</pubDate>
		<dc:creator>Harald Kraft</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[file association]]></category>
		<category><![CDATA[file extension]]></category>
		<category><![CDATA[filename]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.haraldkraft.de/?p=39</guid>
		<description><![CDATA[Recently I was facing the issue whether it&#8217;s possible to associate files with a certain filename to be opened with a particular program in Windows operating systems. These could be files named TODO, README, INSTALL, LICENSE and the likes, as they are widely common in the unix world. My first try via tweaking the registry [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I was facing the issue whether it&#8217;s possible to associate files with a certain filename to be opened with a particular program in Windows operating systems. These could be files named <strong>TODO</strong>, <strong>README</strong>, <strong>INSTALL</strong>, <strong>LICENSE</strong> and the likes, as they are widely common in the unix world.</p>
<p><span id="more-39"></span><br />
My first try via tweaking the registry (adding an entry in the HKEY_CLASSES_ROOT as you would normally do for an extension) was without success. Also other tweak programs, which are capable of setting file associations, fail to do this for files which do not have an extension.<br />
When looking for a solution on the web, I came across <a href="http://blog.haraldkraft.de/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2VsaWdyZXkuY29tL2Jsb2cvcG9zdC9hc3NvY2lhdGluZy1maWxlcy13aXRob3V0LWZpbGUtZXh0ZW5zaW9ucy1pbi13aW5kb3dz">this blog entry</a> of Elijah Grey, who wrote a batch file with which you&#8217;ll be able to associate all files without file extension to any program. He uses the command line tools <strong><em>ftype</em></strong> and more importantly <strong><em>assoc</em></strong>. Even though this solution is neat, it didn&#8217;t quite satisfy my needs &#8211; because I might want to associate different filenames (without extensions) to different programs.<br />
Looking at the help of <strong><em>assoc</em></strong>, the command line tool just handles extensions (as parameters), e.g. &#8220;<strong>.txt</strong>&#8221; or just &#8220;<strong>.</strong>&#8221; for files without extension. But it is not able to use the parameter as desired fixed filename (without extension). As you can see from my comment to the blog entry, Elijah stated that it is not possible to associate certains file names to a program under Windows.</p>
<p>This means, at least for the time being I will not be able to restrict file associations of files without file extension to just <em>certain</em> filenames.</p>
<p>However, when you think about this issue, you will face the following questions:</p>
<ul>
<li>where do the files come from / where are or were they created?</li>
<li>which program should they be associated?</li>
</ul>
<p>The answer to the first question is, of course, for the most part such files will have something to do with Unix &#8211; and furthermore therefore most likely not have Windows line breaks. That means (starting to find the answer to the second question), if you intended the special files to be associated with <strong>notepad</strong>, the standard Windows editor, it would not be neatly formatted in the first place.<br />
But on the other hand, if you wanted those files to be associated with your favorite editor (UltraEdit, SciTe, EmEditor, Notepad++, Programmer&#8217;s Notepad, &#8230; just to name a few), with which you wouldn&#8217;t have line break issues, actually all of those editors have the option to be integrated in the right-click context menu (of any file explorer). That means, to edit those files instead of double-clicking you would have to go through one right-click and then one left-click.</p>
<p>The way via the context-menu obviously takes more time (and time adds up <img src='http://blog.haraldkraft.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ) and is still no solution to the original problem. But it seems, for the moment we will just have the option of the context-menu or (using <strong>assoc</strong> or Elijah&#8217;s script) to associate <em>all</em> files without file extension with a program. Meaning, no two different programs for two differently named files &#8211; but let&#8217;s be honest, most of the files without extensions (see above for the examples) are simple text files anyway <img src='http://blog.haraldkraft.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
 <img src="http://blog.haraldkraft.de/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=39" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.haraldkraft.de/2009/07/file-association-for-certain-filenames-without-file-extension-under-windows/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
