<?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>Stories about everyday life &#187; batch timesaver time</title>
	<atom:link href="http://www.hariscusto.com/tag/batch-timesaver-time/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hariscusto.com</link>
	<description>my playground</description>
	<lastBuildDate>Wed, 14 Dec 2011 23:10:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>How to create one click update from bin/debug folder?</title>
		<link>http://www.hariscusto.com/programming/how-to-create-one-click-update-from-bindebug-folder/</link>
		<comments>http://www.hariscusto.com/programming/how-to-create-one-click-update-from-bindebug-folder/#comments</comments>
		<pubDate>Thu, 15 Jul 2010 19:00:28 +0000</pubDate>
		<dc:creator>Haris Čusto</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[batch timesaver time]]></category>

		<guid isPermaLink="false">http://www.hariscusto.com/?p=165</guid>
		<description><![CDATA[Well, it&#8217;s really easy! I don&#8217;t know about you, but I have huge problem with copying files from my debug folders. First of all, it&#8217;s annoying, and second of all it takes time. I&#8217;m using Visual Studio 2010 . I have Solution with 14 projects (yes, it&#8217;s big solution &#8211; actually it&#8217;s POS Sector Solution, [...]]]></description>
			<content:encoded><![CDATA[<p>Well, it&#8217;s really easy!</p>
<p>I don&#8217;t know about you, but I have huge problem with copying files from my debug folders. First of all, it&#8217;s annoying, and second of all it takes time. <span id="more-165"></span></p>
<p>I&#8217;m using Visual Studio 2010 .</p>
<p>I have Solution with 14 projects (yes, it&#8217;s big solution &#8211; actually it&#8217;s <a href="http://pos-sector.com/en">POS Sector Solution</a>, one of our products for <a title="Software for Clubs" href="http://pos-sector.com/en/pages/view/bars-and-nightclubs">Clubs</a> and <a title="Software for Restaurants" href="http://pos-sector.com/en/pages/view/restaurants">Restaurants</a>), and not all projects are referenced between themselves, so there is no way  to have all of .exe and .dll files in one Debug directory.</p>
<p>When there is tough day, i need to copy about 20 files from 5 directories for about 10 times in a day, and send them to my teammates for purpose of testing. All that ALT + TAB, CTRL + C, ALT + TAB, CTRL + V x 5 folders * 10 times = 45min / 1h lost every day.</p>
<p>To solve this, i created Batch file which copy all of files that i need, from Debug  to Update directory.</p>
<p>Here is example of batch file :</p>
<p>@echo off</p>
<p>copy &#8220;D:\projects\POS Sector\bin\Debug\POS.BusinessLogic.dll&#8221; &#8220;C:\UPDATE\POS.BusinessLogic.dll&#8221; /y<br />
copy &#8220;D:\projects\POS Sector\bin\Debug\POS.DataAccess.dll&#8221; &#8220;C:\UPDATE\POS.DataAccess.dll&#8221; /y</p>
<p>print</p>
<p>You can have as many as you need copy statements, but they must be on new line.</p>
<p>@echo off on first line will prevent any commands in the batch file to be sent to the screen when executed.</p>
<p>/y param means overwrite existing file.</p>
<p>Here is <a href="http://www.wikihow.com/Write-a-Batch-File">how you create batch file</a></p>
<p>The same way you can create batch file which will backup your directory.</p>
<h2>Do you have some tricks like this one, which are ease to do, but save a lot of time?</h2>
]]></content:encoded>
			<wfw:commentRss>http://www.hariscusto.com/programming/how-to-create-one-click-update-from-bindebug-folder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

