<?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>Firefox Facts &#187; bat</title>
	<atom:link href="http://www.firefoxfacts.com/tag/bat/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.firefoxfacts.com</link>
	<description>best guide to add-ons, themes and tips for Firefox</description>
	<lastBuildDate>Mon, 30 Jan 2012 12:32:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Learn to Write a Batch File with Firefox</title>
		<link>http://www.firefoxfacts.com/2008/01/07/learn-to-write-a-batch-file-with-firefox/</link>
		<comments>http://www.firefoxfacts.com/2008/01/07/learn-to-write-a-batch-file-with-firefox/#comments</comments>
		<pubDate>Mon, 07 Jan 2008 13:06:27 +0000</pubDate>
		<dc:creator>Mitch</dc:creator>
				<category><![CDATA[Hacks and Tweaks]]></category>
		<category><![CDATA[bat]]></category>
		<category><![CDATA[batch]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[lifehacks]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[Tabbed Browsing]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.firefoxfacts.com/2008/01/07/learn-to-write-a-batch-file-with-firefox/</guid>
		<description><![CDATA[Pardon me if I get a little geeky, but batch files are a great way to get tons of task done via your computer with little or no effort at all. You might have seen them before too &#8211; they contain a list of commands or program routines that the computer will execute in sequence. [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.firefoxfacts.com/wp-content/uploads/2008/01/batfirefox.jpg" alt="Batch Files with Firefox" align="right" />Pardon me if I get a little geeky, but batch files are a great way to get tons of task done via your computer with little or no effort at all.  You might have seen them before too &#8211; they contain a list of commands or program routines that the computer will execute in sequence.  Also another trait they have is they are saved with the .bat extension.</p>
<p>How do you write a batch file?  Start notepad, and type in this:</p>
<blockquote><p>@echo off<br />
start firefox.exe</p></blockquote>
<p>Then go to <em>File</em> then pick <em>Save As&#8230; </em>and save this as <em>FirefoxTip.bat</em> to your desktop.  To test, double click the icon it created for you on the desktop.  If successful, Firefox should open up.  If you did something wrong, you&#8217;ll probably either get an error message or nothing will happen.  Also as a side note brought up by <a href="http://www.firefoxfacts.com/2008/01/02/launch-tabs-from-run-box/#comment-13134">Mirzas</a>:</p>
<p><em>Location of firefox.exe must be inside the PATH environment variable for it to work from a batch file.</em></p>
<p>Now that is rather boring, isn&#8217;t it?  You could start Firefox like this from a shortcut for Pete&#8217;s sake.  Well remember the <a href="http://www.firefoxfacts.com/2008/01/02/launch-tabs-from-run-box/" rel="bookmark" title="Permanent link to Launch Tabs from Run Box">Launch Tabs from Run Box</a> and <a href="http://www.firefoxfacts.com/2008/01/03/more-command-line-firefox-tips/" rel="bookmark" title="Permanent link to More Command Line Firefox Tips">More Command Line Firefox Tips</a>?  Try plugging some of those in after the firefox.exe statement in your own batch file to launch Firefox the way you want.</p>
<p>For another example, start notepad back up and type in this:</p>
<blockquote><p>@echo off<br />
start firefox.exe webhostingshow.com firefoxfacts.com mitchelaneous.com</p></blockquote>
<p>Then go to <em>File</em> then pick <em>Save As&#8230; </em>and save this as <em>MitchBlogs.bat</em> to your desktop.  Double click it on your desktop and a new Firefox browser should come up with those three web sites loaded into the tabs.</p>
<p>For more help with batch files, check out <a href="http://www.wikihow.com/Write-a-Batch-File">this post on WikiHow.com</a>.</p>
<p><strong>Check out the other posts in this series:</strong></p>
<ul>
<li><a href="http://www.firefoxfacts.com/2008/01/02/launch-tabs-from-run-box/" rel="bookmark" title="Permanent link to Launch Tabs from Run Box">Launch Tabs from Run Box</a></li>
<li><a href="http://www.firefoxfacts.com/2008/01/03/more-command-line-firefox-tips/" rel="bookmark" title="Permanent link to More Command Line Firefox Tips">More Command Line Firefox Tips</a></li>
<li><a href="http://www.firefoxfacts.com/2008/01/07/learn-to-write-a-batch-file-with-firefox/" rel="bookmark" title="Permanent link to Learn to Write a Batch File with Firefox">Learn to Write a Batch File with Firefox</a></li>
</ul>
                                                                                <strong>Facebook Fan Page</strong>  Come join the fun on the Firefox Facts <a href="http://www.facebook.com/MitchProjects">Facebook Fan Page</a>!</a><br />
<br />
&copy; <a href="http://www.mitchkeeler.com">Mitch Keeler</a> 2011 | Check out my <a href="http://www.mitchelaneous.com">personal blog</a> and my <a href="http://www.webhostingshow.com">hosting podcast</a> too!</a><br />
<br>&nbsp;                                                ]]></content:encoded>
			<wfw:commentRss>http://www.firefoxfacts.com/2008/01/07/learn-to-write-a-batch-file-with-firefox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

