<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule">
<channel>
    <title>Flominator's Kruschtelecke (Artikel mit Tag batch)</title>
    <link>http://flominator.ramselehof.de/</link>
    <description>für badische und unsym-badische</description>
    <dc:language>de</dc:language>
    <generator>Serendipity 1.4.1 - http://www.s9y.org/</generator>
    <pubDate>Sat, 25 Jul 2009 21:20:18 GMT</pubDate>

    <image>
        <url>http://flominator.ramselehof.de/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Flominator's Kruschtelecke - für badische und unsym-badische</title>
        <link>http://flominator.ramselehof.de/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Notepad++ als Standard-Editor in Windows einrichten</title>
    <link>http://flominator.ramselehof.de/index.php?/archives/142-Notepad++-als-Standard-Editor-in-Windows-einrichten.html</link>
            <category>Software</category>
    
    <comments>http://flominator.ramselehof.de/index.php?/archives/142-Notepad++-als-Standard-Editor-in-Windows-einrichten.html#comments</comments>
    <wfw:comment>http://flominator.ramselehof.de/wfwcomment.php?cid=142</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://flominator.ramselehof.de/rss.php?version=2.0&amp;type=comments&amp;cid=142</wfw:commentRss>
    

    <author>nospam@example.com (Flominator)</author>
    <content:encoded>
    &lt;p&gt;Wie ihr natürlich alle wisst, bin ich ein großer Fan des Open-Source-Editors &lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/notepad-plus.sourceforge.net/&#039;);&quot;  href=&quot;http://notepad-plus.sourceforge.net/&quot; onclick=&quot;window.open(this.href, &#039;_blank&#039;); return false;&quot;&gt;Notepad++&lt;/a&gt;. Dieses Programm erfüllt einfach alle Wünsche, egal ob man nur schnell etwas notieren möchte oder doch ein etwas längeres Skript bearbeiten will.&lt;/p&gt;

&lt;p&gt;Kurzum: Notepad, der Editor aus dem Standardlieferumfang von Windows hat ausgedient. Notepad++ sollte als Standardeditor eingerichtet werden. Doch wie? &lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/notepad-plus.sourceforge.net/de/download.php?lang=de#Notepad_replacement&#039;);&quot;  href=&quot;http://notepad-plus.sourceforge.net/de/download.php?lang=de#Notepad_replacement&quot; onclick=&quot;window.open(this.href, &#039;_blank&#039;); return false;&quot;&gt;Hier&lt;/a&gt; wird erklärt, welche Dateien man ersetzen und welche Änderungen man an der Registry vornehmen müsste. Für alle, denen das zu aufwändig ist, habe ich ein kleines Skript für Windows XP geschrieben (ratet mal in welchem Programm ...), das die Bearbeitungen übernimmt:&lt;/p&gt;

&lt;p&gt;&lt;div class=&quot;dos&quot; style=&quot;text-align: left&quot;&gt;&lt;br /&gt;@&lt;span style=&quot;color: #b1b100; font-weight: bold;&quot;&gt;echo&lt;/span&gt; off &lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #b1b100; font-weight: bold;&quot;&gt;ECHO&lt;/span&gt; Looking &lt;span style=&quot;color: #00b100; font-weight: bold;&quot;&gt;for&lt;/span&gt; Notepad++Launcher named notepad.exe&lt;br /&gt;&lt;span style=&quot;color: #b1b100; font-weight: bold;&quot;&gt;DIR&lt;/span&gt; notepad.exe &amp;gt; &lt;span style=&quot;color: #0000ff; font-weight: bold;&quot;&gt;NUL&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #00b100; font-weight: bold;&quot;&gt;IF&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;NOT&lt;/span&gt; %&lt;span style=&quot;color: #448888;&quot;&gt;ERRORLEVEL&lt;/span&gt;% == &lt;span style=&quot;&quot;&gt;0&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #b1b100; font-weight: bold;&quot;&gt;ECHO&lt;/span&gt; Please copy this file into your Notepad++ directory containing Notepad++Launcher&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #b1b100; font-weight: bold;&quot;&gt;PAUSE&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #00b100; font-weight: bold;&quot;&gt;EXIT&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #b1b100; font-weight: bold;&quot;&gt;ECHO&lt;/span&gt; OK. &lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #00b100; font-weight: bold;&quot;&gt;FOR&lt;/span&gt; /F &amp;quot;delims=#&amp;quot; %%a &lt;span style=&quot;color: #00b100; font-weight: bold;&quot;&gt;in&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&#039;&lt;span style=&quot;color: #b1b100; font-weight: bold;&quot;&gt;cd&lt;/span&gt;&#039;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #00b100; font-weight: bold;&quot;&gt;do&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #b1b100; font-weight: bold;&quot;&gt;set&lt;/span&gt; &lt;span style=&quot;color: #448844;&quot;&gt;nppath&lt;/span&gt;=&amp;quot;%%a&amp;quot; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #b1b100; font-weight: bold;&quot;&gt;ECHO&lt;/span&gt; Your current directory is %&lt;span style=&quot;color: #448888;&quot;&gt;nppath&lt;/span&gt;%&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #b1b100; font-weight: bold;&quot;&gt;ECHO&lt;/span&gt; Trying to prevent you from executing this file from network shares&lt;br /&gt;&lt;span style=&quot;color: #00b100; font-weight: bold;&quot;&gt;IF&lt;/span&gt; %&lt;span style=&quot;color: #448888;&quot;&gt;nppath&lt;/span&gt;%==&amp;quot;%&lt;span style=&quot;color: #448888;&quot;&gt;windir&lt;/span&gt;%&amp;quot; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #b1b100; font-weight: bold;&quot;&gt;echo&lt;/span&gt; Wrong directory: You are at %&lt;span style=&quot;color: #448888;&quot;&gt;windir&lt;/span&gt;% &lt;br /&gt;&lt;span style=&quot;color: #b1b100; font-weight: bold;&quot;&gt;ECHO&lt;/span&gt; Please copy this file into your Notepad++ directory containing Notepad++Launcher&lt;br /&gt;&lt;span style=&quot;color: #b1b100; font-weight: bold;&quot;&gt;PAUSE&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #00b100; font-weight: bold;&quot;&gt;exit&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #b1b100; font-weight: bold;&quot;&gt;ECHO&lt;/span&gt; OK&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #b1b100; font-weight: bold;&quot;&gt;ECHO&lt;/span&gt; Trying to find out whether %&lt;span style=&quot;color: #448888;&quot;&gt;nppath&lt;/span&gt;% does really &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;exist&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #b1b100; font-weight: bold;&quot;&gt;DIR&lt;/span&gt; %&lt;span style=&quot;color: #448888;&quot;&gt;nppath&lt;/span&gt;% &lt;br /&gt;&lt;span style=&quot;color: #00b100; font-weight: bold;&quot;&gt;IF&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;NOT&lt;/span&gt; %&lt;span style=&quot;color: #448888;&quot;&gt;ERRORLEVEL&lt;/span&gt;% == &lt;span style=&quot;&quot;&gt;0&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #b1b100; font-weight: bold;&quot;&gt;ECHO&lt;/span&gt; It seems that something went wrong, so I won&#039;t write into the registry. Please blame flominator AT gmx THEDOT net &lt;span style=&quot;color: #00b100; font-weight: bold;&quot;&gt;for&lt;/span&gt; this mess.&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #b1b100; font-weight: bold;&quot;&gt;ECHO&lt;/span&gt; The path to Notepad++ seems &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;not&lt;/span&gt; to be %&lt;span style=&quot;color: #448888;&quot;&gt;nppath&lt;/span&gt;%&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #b1b100; font-weight: bold;&quot;&gt;PAUSE&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #00b100; font-weight: bold;&quot;&gt;EXIT&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #b1b100; font-weight: bold;&quot;&gt;ECHO&lt;/span&gt; OK&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #b1b100; font-weight: bold;&quot;&gt;ECHO&lt;/span&gt; Writing the path into the registry&lt;br /&gt;reg add HKLM\Software\Notepad++ /v &amp;quot;&amp;quot; /d %&lt;span style=&quot;color: #448888;&quot;&gt;nppath&lt;/span&gt;% /f&lt;br /&gt;&lt;span style=&quot;color: #b1b100; font-weight: bold;&quot;&gt;ECHO&lt;/span&gt; .&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #b1b100; font-weight: bold;&quot;&gt;ECHO&lt;/span&gt; Now copying notepad.exe to %&lt;span style=&quot;color: #448888;&quot;&gt;windir&lt;/span&gt;% &lt;br /&gt;copy notepad.exe %&lt;span style=&quot;color: #448888;&quot;&gt;windir&lt;/span&gt;% &lt;br /&gt;&lt;span style=&quot;color: #b1b100; font-weight: bold;&quot;&gt;ECHO&lt;/span&gt; Now copying notepad.exe to %&lt;span style=&quot;color: #448888;&quot;&gt;windir&lt;/span&gt;%\system32&amp;#160; &lt;br /&gt;copy notepad.exe %&lt;span style=&quot;color: #448888;&quot;&gt;windir&lt;/span&gt;%\system32 &lt;br /&gt;&lt;span style=&quot;color: #b1b100; font-weight: bold;&quot;&gt;ECHO&lt;/span&gt; Now copying notepad.exe to %&lt;span style=&quot;color: #448888;&quot;&gt;windir&lt;/span&gt;%\dllcache &lt;br /&gt;copy notepad.exe %&lt;span style=&quot;color: #448888;&quot;&gt;windir&lt;/span&gt;%\system32\dllcache &lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #b1b100; font-weight: bold;&quot;&gt;pause&lt;/span&gt;&lt;br /&gt;&amp;#160;&lt;/div&gt;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Gebrauchsanweisung&lt;/b&gt;&lt;br /&gt;
Einfach &lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/notepad-plus.sourceforge.net/de/download.php?lang=de#Notepad_replacement&#039;);&quot;  href=&quot;http://notepad-plus.sourceforge.net/de/download.php?lang=de#Notepad_replacement&quot; onclick=&quot;window.open(this.href, &#039;&lt;u&gt;blank&#039;); return false;&quot;&gt;NPPLauncher&lt;/a&gt; herunterladen und zusammen mit obigem Batchskript als _replacenp.bat&lt;/u&gt; in den Installationsordner von Notepad++ packen.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Disclaimergedöhns&lt;/b&gt;&lt;br /&gt;
Natürlich übernehme ich keinerlei Haftung für eventuelles unvorhersehbares Fehlverhalten meines Skriptes. Falls es Probleme gibt, freue ich mich aber trotzdem über Feedback.&lt;/p&gt;

&lt;p&gt;Viel Spaß damit!&lt;/p&gt;

 
    </content:encoded>

    <pubDate>Sat, 25 Jul 2009 23:20:18 +0200</pubDate>
    <guid isPermaLink="false">http://flominator.ramselehof.de/index.php?/archives/142-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-sa/2.5/deed.de</creativeCommons:license><category>batch</category>

</item>
<item>
    <title>Links ins Dateisystem mit Firefox öffnen</title>
    <link>http://flominator.ramselehof.de/index.php?/archives/102-Links-ins-Dateisystem-mit-Firefox-oeffnen.html</link>
            <category>Software</category>
            <category>Studium/Job</category>
    
    <comments>http://flominator.ramselehof.de/index.php?/archives/102-Links-ins-Dateisystem-mit-Firefox-oeffnen.html#comments</comments>
    <wfw:comment>http://flominator.ramselehof.de/wfwcomment.php?cid=102</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://flominator.ramselehof.de/rss.php?version=2.0&amp;type=comments&amp;cid=102</wfw:commentRss>
    

    <author>nospam@example.com (Flominator)</author>
    <content:encoded>
    &lt;p&gt;Während meiner Arbeit mit &lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/www.mediawiki.org/wiki/MediaWiki&#039;);&quot;  href=&quot;http://www.mediawiki.org/wiki/MediaWiki&quot; onclick=&quot;window.open(this.href, &#039;_blank&#039;); return false;&quot;&gt;MediaWiki&lt;/a&gt; im Unternehmen stellte sich bald die Frage nach der Möglichkeit, Links ins Dateisystem einbauen zu können. Grundsätzlich ist dies über die Extension &lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/www.mediawiki.org/wiki/Extension:FileProtocolLinks&#039;);&quot;  href=&quot;http://www.mediawiki.org/wiki/Extension:FileProtocolLinks&quot; onclick=&quot;window.open(this.href, &#039;_blank&#039;); return false;&quot;&gt;FileProtocolLinks &lt;/a&gt; möglich. Allerdings sind die meisten Browser von Natur aus misstrauisch, was das Öffnen solcher Links angeht.&lt;/p&gt;

&lt;p&gt;Beim Firefox lässt sich dies über einen Eintrag im Profil, genauer gesagt über die Datei user.js, bewerkstelligen. Wie das geht, steht in der &lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/kb.mozillazine.org/Firefox_:&amp;lt;u&amp;gt;Issues&amp;lt;/u&amp;gt;:_Links_to_Local_Pages_Don%27t_Work&#039;);&quot;  href=&quot;http://kb.mozillazine.org/Firefox_:&lt;u&gt;Issues&lt;/u&gt;:_Links_to_Local_Pages_Don%27t_Work&quot; onclick=&quot;window.open(this.href, &#039;_blank&#039;); return false;&quot;&gt;MozillaZine Knowledge Base&lt;/a&gt;. Diese Änderungen kann man natürlich Otto-Normal-Nutzer nicht zumuten. Mein Ziel war es nun, anderen Nutzen das Setzen dieser Einstellungen zu ermöglichen, ohne dass diese die JS-Datei bearbeiten müssten. Dies gelang mir über folgende Batch-Datei, die lediglich einmalig vom betreffenden Nutzer oder der Softwareverteilung ausgeführt werden muss:&lt;/p&gt;

&lt;p&gt;&lt;div class=&quot;dos&quot; style=&quot;text-align: left&quot;&gt;&lt;br /&gt;C:&lt;br /&gt;&lt;span style=&quot;color: #b1b100; font-weight: bold;&quot;&gt;cd&lt;/span&gt; &amp;quot;%&lt;span style=&quot;color: #448888;&quot;&gt;appdata&lt;/span&gt;%&amp;quot;&lt;br /&gt;&lt;span style=&quot;color: #b1b100; font-weight: bold;&quot;&gt;cd&lt;/span&gt; Mozilla &lt;br /&gt;&lt;span style=&quot;color: #b1b100; font-weight: bold;&quot;&gt;cd&lt;/span&gt; Firefox&lt;br /&gt;&lt;span style=&quot;color: #b1b100; font-weight: bold;&quot;&gt;cd&lt;/span&gt; Profiles&lt;br /&gt;&lt;span style=&quot;color: #00b100; font-weight: bold;&quot;&gt;for&lt;/span&gt; /F &amp;quot;delims=!&amp;quot; %%f &lt;span style=&quot;color: #00b100; font-weight: bold;&quot;&gt;in&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&#039;&lt;span style=&quot;color: #b1b100; font-weight: bold;&quot;&gt;dir&lt;/span&gt; /b /ad&#039;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #00b100; font-weight: bold;&quot;&gt;DO&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #b1b100; font-weight: bold;&quot;&gt;cd&lt;/span&gt; %%f&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;copy user.js user.old&lt;br /&gt;&lt;span style=&quot;color: #b1b100; font-weight: bold;&quot;&gt;echo&lt;/span&gt; user_pref&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&amp;quot;capability.policy.policynames&amp;quot;, &amp;quot;localfilelinks&amp;quot;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;; &amp;gt; user.js&lt;br /&gt;&lt;span style=&quot;color: #b1b100; font-weight: bold;&quot;&gt;echo&lt;/span&gt; user_pref&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&amp;quot;capability.policy.localfilelinks.sites&amp;quot;, &amp;quot;http://meinserver.de&amp;quot;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;; &amp;gt;&amp;gt; user.js&lt;br /&gt;&lt;span style=&quot;color: #b1b100; font-weight: bold;&quot;&gt;echo&lt;/span&gt; user_pref&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&amp;quot;capability.policy.localfilelinks.checkloaduri.enabled&amp;quot;, &amp;quot;allAccess&amp;quot;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;; &amp;gt;&amp;gt; user.js&lt;br /&gt;&lt;span style=&quot;color: #b1b100; font-weight: bold;&quot;&gt;pause&lt;/span&gt;&lt;br /&gt;&amp;#160;&lt;/div&gt;&lt;/p&gt;

 
    </content:encoded>

    <pubDate>Fri, 02 Jan 2009 20:34:10 +0100</pubDate>
    <guid isPermaLink="false">http://flominator.ramselehof.de/index.php?/archives/102-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-sa/2.5/deed.de</creativeCommons:license><category>batch</category>
<category>mediawiki</category>

</item>
<item>
    <title>Firefox-Startseite per Batchdatei ändern</title>
    <link>http://flominator.ramselehof.de/index.php?/archives/69-Firefox-Startseite-per-Batchdatei-aendern.html</link>
            <category>Software</category>
            <category>Studium/Job</category>
    
    <comments>http://flominator.ramselehof.de/index.php?/archives/69-Firefox-Startseite-per-Batchdatei-aendern.html#comments</comments>
    <wfw:comment>http://flominator.ramselehof.de/wfwcomment.php?cid=69</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://flominator.ramselehof.de/rss.php?version=2.0&amp;type=comments&amp;cid=69</wfw:commentRss>
    

    <author>nospam@example.com (Flominator)</author>
    <content:encoded>
    &lt;p&gt;Wegen des Umzugs unseres Intranet-Portals vor ein paar Monaten, war es nötig, die Startseite in sämtlichen Firefox-Profilen per Softwareverteilung auf die neue Adresse zu aktualisieren. Ich dachte mir, dass es über eine Stapelverarbeitungsdatei kein Problem sein sollte. Dann fiel mir auf, dass ich keinen Windows-Befehl kannte, mit dem man eine Zeichenkette durch eine andere ersetzen kann.&lt;/p&gt;

&lt;p&gt;Glücklicherweise fand ich nach einer Runde googeln die Seite von &lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/www.geocities.com/cplarosa/utils.html&#039;);&quot;  href=&quot;http://www.geocities.com/cplarosa/utils.html&quot; onclick=&quot;window.open(this.href, &#039;_blank&#039;); return false;&quot;&gt;Chris LaRosa&lt;/a&gt;, auf der man die Datei &lt;em&gt;&lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/www.geocities.com/cplarosa/CPLUTILS.ZIP&#039;);&quot;  href=&quot;http://www.geocities.com/cplarosa/CPLUTILS.ZIP&quot; onclick=&quot;window.open(this.href, &#039;_blank&#039;); return false;&quot;&gt;CPLUTILS.ZIP&lt;/a&gt;&lt;/em&gt; herunterladen kann. Darin enthalten ist u.a. die Datei &lt;em&gt;REPL.EXE&lt;/em&gt;, die in der Lage ist, Text auf der Kommandozeile durch anderen Text zu ersetzen.&lt;/p&gt;

&lt;p&gt;So war ich dann doch noch in der Lage, ein Skript zu basteln, das die Startseite des Firefox unter Windows ohne Zutun des Benutzers aktualisieren kann:&lt;/p&gt;

&lt;p&gt;&lt;div class=&quot;dos&quot; style=&quot;text-align: left&quot;&gt;&lt;br /&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;rem Dieses Skript ändert die Mozilla-Firefox-Startseite des angemeldeten Benutzers, &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;rem auf eine neue URL, die unten eingegeben werden kann.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;@&lt;span style=&quot;color: #b1b100; font-weight: bold;&quot;&gt;echo&lt;/span&gt; off&lt;br /&gt;&lt;span style=&quot;color: #b1b100; font-weight: bold;&quot;&gt;set&lt;/span&gt; &lt;span style=&quot;color: #448844;&quot;&gt;PATH&lt;/span&gt;=%&lt;span style=&quot;color: #448888;&quot;&gt;PATH&lt;/span&gt;%C:\;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;rem Hier die neue Startseite eintragen (keine abschließenden Leerzeichen!!!)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #b1b100; font-weight: bold;&quot;&gt;set&lt;/span&gt; &lt;span style=&quot;color: #448844;&quot;&gt;neue_url&lt;/span&gt;=http://www.meine.url&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;rem Verzeichniswechsel zum Ordner Mozilla im Pfad für Anwendungsdaten&lt;/span&gt;&lt;br /&gt;C:&lt;br /&gt;&lt;span style=&quot;color: #b1b100; font-weight: bold;&quot;&gt;cd&lt;/span&gt; &amp;quot;%&lt;span style=&quot;color: #448888;&quot;&gt;appdata&lt;/span&gt;%&amp;quot;&lt;br /&gt;&lt;span style=&quot;color: #b1b100; font-weight: bold;&quot;&gt;cd&lt;/span&gt; Mozilla &lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;rem Hier wird nach sämtlichen prefs.js Dateien im Ordner gesucht und diese nacheinander verarbeitet&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;rem Zuerst wird die aktuelle Startseite aus der Datei ausgelesen und in der Datei C:\needle.txt gespeichert&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;rem Anschließend wird besagter Text aus C:\needle.txt in einer temporären Kopie der prefs.js durch den Text aus neue_url ersetzt &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #00b100; font-weight: bold;&quot;&gt;for&lt;/span&gt; /F &amp;quot;delims=!&amp;quot; %%f &lt;span style=&quot;color: #00b100; font-weight: bold;&quot;&gt;in&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&#039;&lt;span style=&quot;color: #b1b100; font-weight: bold;&quot;&gt;dir&lt;/span&gt; /s /b prefs.js&#039;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #00b100; font-weight: bold;&quot;&gt;DO&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt; find &amp;quot;browser.startup.homepage&amp;quot; &amp;quot;%%f&amp;quot; | find &amp;quot;http&amp;quot;&amp;#160; | repl \q \\q &amp;gt; C:\needle.txt&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #00b100; font-weight: bold;&quot;&gt;FOR&lt;/span&gt; /F &amp;quot;delims=!&amp;quot; %%n &lt;span style=&quot;color: #00b100; font-weight: bold;&quot;&gt;in&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&#039;type C:\needle.txt&#039;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #00b100; font-weight: bold;&quot;&gt;DO&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt; &lt;span style=&quot;color: #b1b100; font-weight: bold;&quot;&gt;echo&lt;/span&gt; %%n&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; type &amp;quot;%%f&amp;quot; | repl &amp;quot;%%n&amp;quot;&amp;#160; &amp;quot;user_pref&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;\qbrowser.startup.homepage\q, \q%&lt;span style=&quot;color: #448888;&quot;&gt;neue_url&lt;/span&gt;%\q&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&amp;quot; &amp;gt; C:\prefs.tmp&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; copy C:\prefs.tmp &amp;quot;%%f&amp;quot;&lt;br /&gt;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;rem Löschung der temporären Dateien&lt;/span&gt;&lt;br /&gt;del C:\needle.txt&lt;br /&gt;del C:\prefs.tmp&lt;br /&gt;&amp;#160;&lt;/div&gt;&lt;/p&gt;

&lt;p&gt;Obwohl ich das Teil mit so ziemlich jeder Firefox-Version vor 2.10 getestet habe, ist das gute Stück sicher nicht der Weisheit letzter Schluss. Wenn ihr also Fragen oder Kommentare dazu habt: Immer her damit!&lt;/p&gt;

 
    </content:encoded>

    <pubDate>Sat, 07 Jun 2008 14:31:43 +0200</pubDate>
    <guid isPermaLink="false">http://flominator.ramselehof.de/index.php?/archives/69-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-sa/2.5/deed.de</creativeCommons:license><category>batch</category>
<category>firefox</category>

</item>
<item>
    <title>PDF-Viewer in TeXnicCenter schließen lassen</title>
    <link>http://flominator.ramselehof.de/index.php?/archives/24-PDF-Viewer-in-TeXnicCenter-schliessen-lassen.html</link>
            <category>Internet</category>
            <category>Software</category>
            <category>Studium/Job</category>
    
    <comments>http://flominator.ramselehof.de/index.php?/archives/24-PDF-Viewer-in-TeXnicCenter-schliessen-lassen.html#comments</comments>
    <wfw:comment>http://flominator.ramselehof.de/wfwcomment.php?cid=24</wfw:comment>

    <slash:comments>10</slash:comments>
    <wfw:commentRss>http://flominator.ramselehof.de/rss.php?version=2.0&amp;type=comments&amp;cid=24</wfw:commentRss>
    

    <author>nospam@example.com (Flominator)</author>
    <content:encoded>
    &lt;p&gt;Wie bereits an &lt;a href=&#039;http://flominator.ramselehof.de/index.php?/archives/22-Was-lange-waehrt-....html&#039;&gt;anderer Stelle&lt;/a&gt; erwähnt, schrieb ich meine Studienarbeit im &lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/de.wikipedia.org/wiki/TeXnicCenter&#039;);&quot;  href=&quot;http://de.wikipedia.org/wiki/TeXnicCenter&quot; onclick=&quot;window.open(this.href, &#039;_blank&#039;); return false;&quot;&gt;TeXnicCenter&lt;/a&gt;. Dieser Editor erstellte mir aus LaTeX-Quelltext eine PDF-Datei, die ich mir dann im &lt;a onclick=&quot;javascript: pageTracker._trackPageview(&#039;/extlink/www.docu-track.com/home/prod_user/pdfx_viewer/&#039;);&quot;  href=&quot;http://www.docu-track.com/home/prod_user/pdfx_viewer/&quot; onclick=&quot;window.open(this.href, &#039;_blank&#039;); return false;&quot;&gt;PDF-XChange-Viewer&lt;/a&gt; von Tracker Software anschauen konnte. Das war ja alles ganz toll und so. Es gab nur einen Haken: Sobald ich mir eine neue PDF-Datei erzeugen wollte und die vorherige PDF-Datei noch vom Betrachter geöffnet war, brach der Kompiliervorgang ab. Ebenso der folgende, der mir dann zu allem Überfluss noch eine dreistellige Anzahl von Warnungen und Fehlermeldungen anzeigte.&lt;/p&gt;

 &lt;br /&gt;&lt;a href=&quot;http://flominator.ramselehof.de/index.php?/archives/24-PDF-Viewer-in-TeXnicCenter-schliessen-lassen.html#extended&quot;&gt;&quot;PDF-Viewer in TeXnicCenter schließen lassen&quot; vollständig lesen&lt;/a&gt;
    </content:encoded>

    <pubDate>Wed, 26 Dec 2007 23:28:35 +0100</pubDate>
    <guid isPermaLink="false">http://flominator.ramselehof.de/index.php?/archives/24-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-sa/2.5/deed.de</creativeCommons:license><category>batch</category>
<category>latex</category>
<category>pdf</category>
<category>studienarbeit</category>

</item>

</channel>
</rss>