<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: How To Write A Simple Batch (.bat) File</title>
	<atom:link href="http://www.makeuseof.com/tag/write-simple-batch-bat-file/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.makeuseof.com/tag/write-simple-batch-bat-file/</link>
	<description>Cool Websites, Software and Internet Tips</description>
	<lastBuildDate>Wed, 22 May 2013 16:19:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Clive</title>
		<link>http://www.makeuseof.com/tag/write-simple-batch-bat-file/#comment-448600</link>
		<dc:creator>Clive</dc:creator>
		<pubDate>Tue, 06 Apr 2010 12:17:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.makeuseof.com/?p=38937#comment-448600</guid>
		<description><![CDATA[Hi to all you guys who are keen on Batch Files. 
Can batch files be created to run automatically i.e. triggered by an event? Would a batch file be an appropriate way of deleting an old file when an imaging software starts to create a new file. I have space on a partition to store say 3 files &amp; would like to be able to automatically delete the oldest (by date) file before the next/newest (4th?) file is created.
Thanks,
Clive]]></description>
		<content:encoded><![CDATA[<p>Hi to all you guys who are keen on Batch Files.<br />
Can batch files be created to run automatically i.e. triggered by an event? Would a batch file be an appropriate way of deleting an old file when an imaging software starts to create a new file. I have space on a partition to store say 3 files &amp; would like to be able to automatically delete the oldest (by date) file before the next/newest (4th?) file is created.<br />
Thanks,<br />
Clive</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh</title>
		<link>http://www.makeuseof.com/tag/write-simple-batch-bat-file/#comment-446532</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Sat, 27 Mar 2010 00:40:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.makeuseof.com/?p=38937#comment-446532</guid>
		<description><![CDATA[My job involves setting up new computers for workers at a large corporation. The guy in the job before me would network two computers and copy files manually from folder to folder. Could take hours and failed frequently, forcing you to restart because you had no idea where Windows left off. I wrote a batch script that maps a network drive to the old computer and copies everything that a user has created that is not in our standard image of windows. Now I sit back and watch it run.]]></description>
		<content:encoded><![CDATA[<p>My job involves setting up new computers for workers at a large corporation. The guy in the job before me would network two computers and copy files manually from folder to folder. Could take hours and failed frequently, forcing you to restart because you had no idea where Windows left off. I wrote a batch script that maps a network drive to the old computer and copies everything that a user has created that is not in our standard image of windows. Now I sit back and watch it run.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.makeuseof.com/tag/write-simple-batch-bat-file/#comment-446364</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Fri, 26 Mar 2010 05:01:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.makeuseof.com/?p=38937#comment-446364</guid>
		<description><![CDATA[Windows 7 has gestures, you can drag windows to ceertain parts of the screen side and it will snap them into position. Google for more information on it.]]></description>
		<content:encoded><![CDATA[<p>Windows 7 has gestures, you can drag windows to ceertain parts of the screen side and it will snap them into position. Google for more information on it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ed</title>
		<link>http://www.makeuseof.com/tag/write-simple-batch-bat-file/#comment-446329</link>
		<dc:creator>Ed</dc:creator>
		<pubDate>Fri, 26 Mar 2010 01:28:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.makeuseof.com/?p=38937#comment-446329</guid>
		<description><![CDATA[Here is a usefull site for scripting not just Batch Scripting but it does have a very comprehensive section on batch scripting and it is an invaluable resource for those who routinely write scripts.

http://www.robvanderwoude.com/]]></description>
		<content:encoded><![CDATA[<p>Here is a usefull site for scripting not just Batch Scripting but it does have a very comprehensive section on batch scripting and it is an invaluable resource for those who routinely write scripts.</p>
<p><a href="http://www.robvanderwoude.com/" rel="nofollow">http://www.robvanderwoude.com/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ed</title>
		<link>http://www.makeuseof.com/tag/write-simple-batch-bat-file/#comment-591191</link>
		<dc:creator>Ed</dc:creator>
		<pubDate>Fri, 26 Mar 2010 00:28:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.makeuseof.com/?p=38937#comment-591191</guid>
		<description><![CDATA[Here is a usefull site for scripting not just Batch Scripting but it does have a very comprehensive section on batch scripting and it is an invaluable resource for those who routinely write scripts.&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.robvanderwoude.com/&quot; rel=&quot;nofollow&quot;&gt;http://www.robvanderwoude.com/&lt;/a&gt;]]></description>
		<content:encoded><![CDATA[<p>Here is a usefull site for scripting not just Batch Scripting but it does have a very comprehensive section on batch scripting and it is an invaluable resource for those who routinely write scripts.</p>
<p><a href="http://www.robvanderwoude.com/" rel="nofollow">http://www.robvanderwoude.com/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Bozzay</title>
		<link>http://www.makeuseof.com/tag/write-simple-batch-bat-file/#comment-446315</link>
		<dc:creator>Paul Bozzay</dc:creator>
		<pubDate>Thu, 25 Mar 2010 22:47:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.makeuseof.com/?p=38937#comment-446315</guid>
		<description><![CDATA[Exactly! Thanks for taking the time to mention this; I think a lot of us feel the same way about batch files. 

~Paul]]></description>
		<content:encoded><![CDATA[<p>Exactly! Thanks for taking the time to mention this; I think a lot of us feel the same way about batch files. </p>
<p>~Paul</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Bozzay</title>
		<link>http://www.makeuseof.com/tag/write-simple-batch-bat-file/#comment-446314</link>
		<dc:creator>Paul Bozzay</dc:creator>
		<pubDate>Thu, 25 Mar 2010 22:46:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.makeuseof.com/?p=38937#comment-446314</guid>
		<description><![CDATA[Sure can. 

Try code like this... (replace paths/names accordingly)

==========================
ECHO OFF
start /d &quot;C:\Windows\System32\&quot; calc.exe
ECHO CALC STARTED
start /d &quot;C:\Program Files\Mozilla Firefox&quot; firefox.exe
ECHO FIREFOX STARTED
start /d &quot;C:\Users\user\AppData\Local\Google\Chrome\Application\&quot; chrome.exe
ECHO CHROME STARTED
ECHO OPERATION COMPLETE
PAUSE
=====================

Tested it 30 seconds ago and everything ran flawlessly. Let me know if it works for you!]]></description>
		<content:encoded><![CDATA[<p>Sure can. </p>
<p>Try code like this&#8230; (replace paths/names accordingly)</p>
<p>==========================<br />
ECHO OFF<br />
start /d &#8220;C:\Windows\System32\&#8221; calc.exe<br />
ECHO CALC STARTED<br />
start /d &#8220;C:\Program Files\Mozilla Firefox&#8221; firefox.exe<br />
ECHO FIREFOX STARTED<br />
start /d &#8220;C:\Users\user\AppData\Local\Google\Chrome\Application\&#8221; chrome.exe<br />
ECHO CHROME STARTED<br />
ECHO OPERATION COMPLETE<br />
PAUSE<br />
=====================</p>
<p>Tested it 30 seconds ago and everything ran flawlessly. Let me know if it works for you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Bozzay</title>
		<link>http://www.makeuseof.com/tag/write-simple-batch-bat-file/#comment-446313</link>
		<dc:creator>Paul Bozzay</dc:creator>
		<pubDate>Thu, 25 Mar 2010 22:45:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.makeuseof.com/?p=38937#comment-446313</guid>
		<description><![CDATA[I don&#039;t know of one--I googled it and came up empty. I&#039;ll look around a bit more though. If you get something let me know--I&#039;d like to know this too.]]></description>
		<content:encoded><![CDATA[<p>I don&#8217;t know of one&#8211;I googled it and came up empty. I&#8217;ll look around a bit more though. If you get something let me know&#8211;I&#8217;d like to know this too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Bozzay</title>
		<link>http://www.makeuseof.com/tag/write-simple-batch-bat-file/#comment-446312</link>
		<dc:creator>Paul Bozzay</dc:creator>
		<pubDate>Thu, 25 Mar 2010 22:42:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.makeuseof.com/?p=38937#comment-446312</guid>
		<description><![CDATA[Glad you enjoyed it! Thanks for the feedback :-)]]></description>
		<content:encoded><![CDATA[<p>Glad you enjoyed it! Thanks for the feedback :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Bozzay</title>
		<link>http://www.makeuseof.com/tag/write-simple-batch-bat-file/#comment-446311</link>
		<dc:creator>Paul Bozzay</dc:creator>
		<pubDate>Thu, 25 Mar 2010 22:41:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.makeuseof.com/?p=38937#comment-446311</guid>
		<description><![CDATA[A lot of people (as you can see) still use batch files...For this reason they are not only relevant, but useful too. With just a few lines of very easy code, you can perform an automated operation on any Windows machine...To each his own, but I personally resort to using BAT files frequently.

~Paul]]></description>
		<content:encoded><![CDATA[<p>A lot of people (as you can see) still use batch files&#8230;For this reason they are not only relevant, but useful too. With just a few lines of very easy code, you can perform an automated operation on any Windows machine&#8230;To each his own, but I personally resort to using BAT files frequently.</p>
<p>~Paul</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ed</title>
		<link>http://www.makeuseof.com/tag/write-simple-batch-bat-file/#comment-446293</link>
		<dc:creator>Ed</dc:creator>
		<pubDate>Thu, 25 Mar 2010 21:09:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.makeuseof.com/?p=38937#comment-446293</guid>
		<description><![CDATA[Nice beginners guide to batch scripting.  VBscript and powershell are great tools and have their place but batch files are indispensable.  I work in IT and am often surprised at how few of my colleagues actually utilize batch files for daily tasks.  In the 10+ years I&#039;ve been doing this I&#039;ve written literally hundreds of batch files with at least 10 that I use daily.  The best one I&#039;ve ever written runs against my print servers and pulls out all the print job information (Username, doc type, doc name, pages printed etc) and puts that into a csv file.  Very useful for tracking printer usage.]]></description>
		<content:encoded><![CDATA[<p>Nice beginners guide to batch scripting.  VBscript and powershell are great tools and have their place but batch files are indispensable.  I work in IT and am often surprised at how few of my colleagues actually utilize batch files for daily tasks.  In the 10+ years I&#8217;ve been doing this I&#8217;ve written literally hundreds of batch files with at least 10 that I use daily.  The best one I&#8217;ve ever written runs against my print servers and pulls out all the print job information (Username, doc type, doc name, pages printed etc) and puts that into a csv file.  Very useful for tracking printer usage.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rchard2scout</title>
		<link>http://www.makeuseof.com/tag/write-simple-batch-bat-file/#comment-446235</link>
		<dc:creator>rchard2scout</dc:creator>
		<pubDate>Thu, 25 Mar 2010 15:25:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.makeuseof.com/?p=38937#comment-446235</guid>
		<description><![CDATA[Can a batch file open several programs that have to keep running (e.g. I want a batch file that opens Chrome, Itunes, etc. but when I tried it, it stopped after chrome, and only continues when I closed chrome.)
Any solutions?]]></description>
		<content:encoded><![CDATA[<p>Can a batch file open several programs that have to keep running (e.g. I want a batch file that opens Chrome, Itunes, etc. but when I tried it, it stopped after chrome, and only continues when I closed chrome.)<br />
Any solutions?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrei</title>
		<link>http://www.makeuseof.com/tag/write-simple-batch-bat-file/#comment-446225</link>
		<dc:creator>Andrei</dc:creator>
		<pubDate>Thu, 25 Mar 2010 12:53:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.makeuseof.com/?p=38937#comment-446225</guid>
		<description><![CDATA[Is there a batch command that would allow snapping a window to the right/left half of the screen in Windows 7?

I am trying to make a .bat file that opens 2 Windows Explorer windows, each on its half screen.]]></description>
		<content:encoded><![CDATA[<p>Is there a batch command that would allow snapping a window to the right/left half of the screen in Windows 7?</p>
<p>I am trying to make a .bat file that opens 2 Windows Explorer windows, each on its half screen.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ivan Kolevski</title>
		<link>http://www.makeuseof.com/tag/write-simple-batch-bat-file/#comment-446224</link>
		<dc:creator>Ivan Kolevski</dc:creator>
		<pubDate>Thu, 25 Mar 2010 12:43:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.makeuseof.com/?p=38937#comment-446224</guid>
		<description><![CDATA[I think that batch files will be around for a while. I use batch files on a daily basis and it is very time efficient method of getting things done with minimal input.
Here is my daily batch:
============================================================
ECHO OFF 
ECHO This is CCleaner silent run with DNS flush. I use this after I log in to my bank and close Firefox.
&quot;C:\Program Files\CCleaner\CCleaner.exe&quot; /AUTO
ipconfig /flushdns
ECHO Privacy is important !!! All good now.
PAUSE
============================================================

Hope this helps.
Regards,
Ivan K.]]></description>
		<content:encoded><![CDATA[<p>I think that batch files will be around for a while. I use batch files on a daily basis and it is very time efficient method of getting things done with minimal input.<br />
Here is my daily batch:<br />
============================================================<br />
ECHO OFF<br />
ECHO This is CCleaner silent run with DNS flush. I use this after I log in to my bank and close Firefox.<br />
&#8220;C:\Program Files\CCleaner\CCleaner.exe&#8221; /AUTO<br />
ipconfig /flushdns<br />
ECHO Privacy is important !!! All good now.<br />
PAUSE<br />
============================================================</p>
<p>Hope this helps.<br />
Regards,<br />
Ivan K.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mayank</title>
		<link>http://www.makeuseof.com/tag/write-simple-batch-bat-file/#comment-446186</link>
		<dc:creator>Mayank</dc:creator>
		<pubDate>Thu, 25 Mar 2010 06:15:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.makeuseof.com/?p=38937#comment-446186</guid>
		<description><![CDATA[I Just Loved To Read This Post.
Really I Love Such Type Of Programming.
I Really Love Programming But Sadly Donno As Now I M Only Of 14 Years And In School.
So Don Have Time To Do These.]]></description>
		<content:encoded><![CDATA[<p>I Just Loved To Read This Post.<br />
Really I Love Such Type Of Programming.<br />
I Really Love Programming But Sadly Donno As Now I M Only Of 14 Years And In School.<br />
So Don Have Time To Do These.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached (Requested URI is rejected)
Database Caching 1/7 queries in 0.028 seconds using memcached
Object Caching 374/379 objects using memcached
Content Delivery Network via main.makeuseoflimited.netdna-cdn.com

 Served from: www.makeuseof.com @ 2013-05-22 16:24:27 by W3 Total Cache -->