<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Windows - How to restore file association for .bat files - Windows Software				            </title>
            <link>https://www.tweaking4all.com/forum/windows-software/windows-how-to-restore-file-association-for-bat-files/</link>
            <description>Tweaking4All.com Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Wed, 17 Jun 2026 03:58:28 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>Windows - How to restore file association for .bat files</title>
                        <link>https://www.tweaking4all.com/forum/windows-software/windows-how-to-restore-file-association-for-bat-files/#post-3213</link>
                        <pubDate>Wed, 10 Mar 2021 16:12:27 +0000</pubDate>
                        <description><![CDATA[So for some silly reason I associated .bat files with a text editor (Notepad++) ... which suddenly resulted in .bat files not executing, but being opened in Notepad++ instead.This typically ...]]></description>
                        <content:encoded><![CDATA[<p>So for some silly reason I associated .bat files with a text editor (<a href="https://notepad-plus-plus.org/downloads/" target="true">Notepad++</a>) ... which suddenly resulted in .bat files not executing, but being opened in Notepad++ instead.<br />This typically would happen when an application would run a little script - in my case: The Windows streamer for Virtual Desktop (Oculus Quest VR).</p>
<p>To restore the file association, copy the following code into a plan text editor, and store it in a .reg file - for example restore.reg.<br />After saving the file, double click it and confirm that you allow registry changes.<br />After this, .bat files are registered correctly again.</p>
<pre contenteditable="false">Windows Registry Editor Version 5.00






@="batfile"


@="\"%1\" %*"</pre>]]></content:encoded>
						                            <category domain="https://www.tweaking4all.com/forum/windows-software/">Windows Software</category>                        <dc:creator>Hans</dc:creator>
                        <guid isPermaLink="true">https://www.tweaking4all.com/forum/windows-software/windows-how-to-restore-file-association-for-bat-files/#post-3213</guid>
                    </item>
							        </channel>
        </rss>
		