<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Programming and Beyond Blog</title>
	<atom:link href="http://gkaur3.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://gkaur3.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Wed, 19 Oct 2011 20:54:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='gkaur3.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Programming and Beyond Blog</title>
		<link>http://gkaur3.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://gkaur3.wordpress.com/osd.xml" title="Programming and Beyond Blog" />
	<atom:link rel='hub' href='http://gkaur3.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Infopath multiple selection check boxes</title>
		<link>http://gkaur3.wordpress.com/2011/10/19/infopath-multiple-selection-check-boxes/</link>
		<comments>http://gkaur3.wordpress.com/2011/10/19/infopath-multiple-selection-check-boxes/#comments</comments>
		<pubDate>Wed, 19 Oct 2011 20:54:41 +0000</pubDate>
		<dc:creator>gk84</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[infopath]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[checkboxes]]></category>
		<category><![CDATA[multiple selection]]></category>

		<guid isPermaLink="false">http://gkaur3.wordpress.com/?p=85</guid>
		<description><![CDATA[I had an issue at work where we had to create a checkbox section with some values in Infopath. Whatever a user checks will get sent to the database separated by a semicolon. We decided to use multiple-selection list boxes &#8230; <a href="http://gkaur3.wordpress.com/2011/10/19/infopath-multiple-selection-check-boxes/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gkaur3.wordpress.com&amp;blog=8787259&amp;post=85&amp;subd=gkaur3&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I had an issue at work where we had to create a checkbox section with some values in Infopath. Whatever a user checks will get sent to the database separated by a semicolon. We decided to use multiple-selection list boxes because we wanted to allow the user to select more than one checkbox. So we defined some rules and created a sample hidden field which will keep track of all the values selected separated by semicolon. The issue came when we had to uncheck a box. There was no rule we could apply to update our text box after a user unchecked a box. So we found this solution:</p>
<p>If you are using infopath 2010, go to developer tab and click on Content Changed Event. This will open up code view with a function already defined for you. You just have to add this code in between the curly brackets:</p>
<p><code><br />
            //Data Source Navigator<br />
            XPathNavigator mainXN = this.MainDataSource.CreateNavigator();<br />
            //Namespace Manager<br />
            XmlNamespaceManager ns = this.NamespaceManager;<br />
            //Node Itterator, so we can loop through the selected items<br />
            XPathNodeIterator xi = mainXN.Select("/dfs:myFields/my:BoxMulti", ns); //replace BoxMulti with the name of your multiple selection box<br />
            //Reference to the field we want to add the selected items to<br />
            XPathNavigator semicolonList = mainXN.SelectSingleNode("/dfs:myFields/my:textfield", ns); //replace textfield with the name of your hidden text field<br />
            //Clear the field before we write to it.  This will cover unchecking an item, too.<br />
            semicolonList.SetValue("");<br />
            //Loop through the selected item.<br />
            while (xi.MoveNext())<br />
            {<br />
                //If the item is not blank<br />
                if (xi.Current.InnerXml != "")<br />
                {<br />
                    //Concatenate the item to the field, separated by a semicolon<br />
                    semicolonList.SetValue(semicolonList.Value + xi.Current.InnerXml + "; ");<br />
                }<br />
            }<br />
</code></p>
<p>Hope this works for you! </p>
<p>If you want to create a simple multiple selection list box without code, you can follow instructions on this site:</p>
<p>http://office.microsoft.com/en-us/infopath-help/insert-a-multiple-selection-list-box-HA010081961.aspx</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gkaur3.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gkaur3.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gkaur3.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gkaur3.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gkaur3.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gkaur3.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gkaur3.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gkaur3.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gkaur3.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gkaur3.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gkaur3.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gkaur3.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gkaur3.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gkaur3.wordpress.com/85/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gkaur3.wordpress.com&amp;blog=8787259&amp;post=85&amp;subd=gkaur3&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gkaur3.wordpress.com/2011/10/19/infopath-multiple-selection-check-boxes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/819f9ca4a7edcf8b87c44e9aa06c85ea?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gk84</media:title>
		</media:content>
	</item>
		<item>
		<title>Two or more Web modules defined in the configuration have the same context root</title>
		<link>http://gkaur3.wordpress.com/2011/09/20/two-or-more-web-modules-defined-in-the-configuration-have-the-same-context-root/</link>
		<comments>http://gkaur3.wordpress.com/2011/09/20/two-or-more-web-modules-defined-in-the-configuration-have-the-same-context-root/#comments</comments>
		<pubDate>Tue, 20 Sep 2011 20:45:58 +0000</pubDate>
		<dc:creator>gk84</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://gkaur3.wordpress.com/?p=81</guid>
		<description><![CDATA[Recently I have been playing around with Eclipse and Tomcat for a class project. Today I decided to debug something and after I was done, I couldn&#8217;t run my code. I kept getting the &#8220;Two or more Web modules defined &#8230; <a href="http://gkaur3.wordpress.com/2011/09/20/two-or-more-web-modules-defined-in-the-configuration-have-the-same-context-root/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gkaur3.wordpress.com&amp;blog=8787259&amp;post=81&amp;subd=gkaur3&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Recently I have been playing around with Eclipse and Tomcat for a class project. Today I decided to debug something and after I was done, I couldn&#8217;t run my code. I kept getting the &#8220;Two or more Web modules defined in the configuration have the same context root&#8221; error. It had me pulling out my hair for an hour. Finally figured out the solution. Here it is:</p>
<p>note:I have indigo version of Eclipse.<br />
On the left hand side, expend the Servers folder and edit server.xml. Look for two occurrences of the same line. The line will look like the following, where &#8220;someApplication&#8221; would be your context root.</p>
<p><code><br />
Context docBase="someApplication" path="/someApplication" reloadable="true" source="org.eclipse.jst.jee.server:someApplication"<br />
</code></p>
<p>Hit Ctrl+F and look for &#8220;docBase&#8221;, if you see two lines which look alike, delete one of them. </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gkaur3.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gkaur3.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gkaur3.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gkaur3.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gkaur3.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gkaur3.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gkaur3.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gkaur3.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gkaur3.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gkaur3.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gkaur3.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gkaur3.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gkaur3.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gkaur3.wordpress.com/81/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gkaur3.wordpress.com&amp;blog=8787259&amp;post=81&amp;subd=gkaur3&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gkaur3.wordpress.com/2011/09/20/two-or-more-web-modules-defined-in-the-configuration-have-the-same-context-root/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/819f9ca4a7edcf8b87c44e9aa06c85ea?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gk84</media:title>
		</media:content>
	</item>
		<item>
		<title>Extract Data from XML using C#</title>
		<link>http://gkaur3.wordpress.com/2011/06/30/extract-data-from-xml-using-c/</link>
		<comments>http://gkaur3.wordpress.com/2011/06/30/extract-data-from-xml-using-c/#comments</comments>
		<pubDate>Thu, 30 Jun 2011 21:15:01 +0000</pubDate>
		<dc:creator>gk84</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[QC]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://gkaur3.wordpress.com/?p=66</guid>
		<description><![CDATA[This code will take data from InfoPath document (xml) and print it out. You will need to modify it for your needs. //Import in the xml bool flag = true; //to stop the while loop //load xml file StreamReader xmlStream &#8230; <a href="http://gkaur3.wordpress.com/2011/06/30/extract-data-from-xml-using-c/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gkaur3.wordpress.com&amp;blog=8787259&amp;post=66&amp;subd=gkaur3&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This code will take data from InfoPath document (xml) and print it out. You will need to modify it for your needs. </p>
<p><code><br />
//Import in the xml<br />
bool flag = true; //to stop the while loop</p>
<p>//load xml file<br />
StreamReader xmlStream = new StreamReader("doc.xml");<br />
XmlDocument xmlDocument = new XmlDocument();<br />
XmlNamespaceManager nsmgr = new XmlNamespaceManager(new NameTable());<br />
nsmgr.AddNamespace("dfs", "schema1");<br />
nsmgr.AddNamespace("d", "schema1");<br />
nsmgr.AddNamespace("xdado", "schema1");<br />
XmlParserContext context = new XmlParserContext(null, nsmgr, null, XmlSpace.None);<br />
XmlReaderSettings xset = new XmlReaderSettings { ConformanceLevel = ConformanceLevel.Fragment };<br />
XmlReader rd = XmlReader.Create(xmlStream, xset, context);<br />
xmlDocument.Load(rd);</p>
<p>//get the root<br />
XmlNode root = xmlDocument.DocumentElement.FirstChild;</p>
<p>//get the first child<br />
XmlNode child = root.FirstChild;</p>
<p>//get the child's sibling<br />
child = root.NextSibling;</p>
<p>//get that child's first child<br />
child = child.FirstChild;</p>
<p>//While we still have data<br />
while (flag == true &amp;&amp; child != null)<br />
    {<br />
//get all the attributes of the child. This is all of the stuff in the quotes</p>
<p>XmlAttributeCollection attr = child.Attributes;<br />
//loop through all child attribues and print them out.<br />
for (int i = 0; i  0)<br />
{<br />
   Console.WriteLine("keep going....");<br />
   child = child.FirstChild;<br />
 }<br />
   else<br />
    {<br />
       //child = child.NextSibling;<br />
       if (child.NextSibling != null)<br />
        {<br />
           child = child.NextSibling;<br />
           Console.WriteLine("keep going...");<br />
         }<br />
          else<br />
             {<br />
               XmlNode parent = child.ParentNode;<br />
               child = parent.NextSibling;<br />
              }<br />
        }<br />
}</code></p>
<p>Here&#8217;s a simple pseudo code in case you are confused:</p>
<p><code><br />
flag = true<br />
load xml<br />
get root<br />
get child<br />
get sibling<br />
get child</p>
<p>if (true)<br />
  get child<br />
  get all attributes<br />
  if next child exists. go back to loop<br />
else<br />
  get sibling<br />
  if sibling exist. go back to loop.<br />
else<br />
  get parent. get sibling<br />
  if sibling exist go back to loop<br />
else<br />
  flag = false;<br />
</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gkaur3.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gkaur3.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gkaur3.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gkaur3.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gkaur3.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gkaur3.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gkaur3.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gkaur3.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gkaur3.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gkaur3.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gkaur3.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gkaur3.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gkaur3.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gkaur3.wordpress.com/66/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gkaur3.wordpress.com&amp;blog=8787259&amp;post=66&amp;subd=gkaur3&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gkaur3.wordpress.com/2011/06/30/extract-data-from-xml-using-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/819f9ca4a7edcf8b87c44e9aa06c85ea?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gk84</media:title>
		</media:content>
	</item>
		<item>
		<title>Automatically add requirements to Quality Center using C#</title>
		<link>http://gkaur3.wordpress.com/2011/06/30/automatically-add-requirements-to-quality-center-using-c/</link>
		<comments>http://gkaur3.wordpress.com/2011/06/30/automatically-add-requirements-to-quality-center-using-c/#comments</comments>
		<pubDate>Thu, 30 Jun 2011 20:45:44 +0000</pubDate>
		<dc:creator>gk84</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[QC]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://gkaur3.wordpress.com/?p=58</guid>
		<description><![CDATA[This is my new project at work. I have to take requirements from an InfoPath document and export them to QC11 (ALM). There are a lot of documentation for VB but not much for C# (which is why I am &#8230; <a href="http://gkaur3.wordpress.com/2011/06/30/automatically-add-requirements-to-quality-center-using-c/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gkaur3.wordpress.com&amp;blog=8787259&amp;post=58&amp;subd=gkaur3&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is my new project at work. I have to take requirements from an InfoPath document and export them to QC11 (ALM). There are a lot of documentation for VB but not much for C# (which is why I am posting this).  There are two parts to this process. First i&#8217;ll have to extract data from the InfoPath document and then connect to QC and add the requirements. I&#8217;ll post the XML part later. For now, Here&#8217;s how you can connect to QC and add a dummy requirement using C#.</p>
<p><code><br />
//Declare an object of TDCoonection<br />
 TDConnection qctd = new TDConnection();<br />
//Pass the QC server URL<br />
qctd.InitConnectionEx("http://yourserver:port/qcbin");<br />
//Connect with the QC<br />
qctd.ConnectProjectEx("domain name", "project name", "userid", "password");<br />
bool check = qctd.LoggedIn;</p>
<p>ReqFactory myReqFactory = (ReqFactory)qctd.ReqFactory;<br />
Req myReq = (Req)myReqFactory.AddItem(DBNull.Value);<br />
myReq.Name = "new requirement";<br />
// 0=Business, 1=Folder, 2=Functional, 3=group, 4=testing<br />
myReq.TypeId = "1";<br />
myReq.ParentId = 0;<br />
myReq.Post();<br />
</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gkaur3.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gkaur3.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gkaur3.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gkaur3.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gkaur3.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gkaur3.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gkaur3.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gkaur3.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gkaur3.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gkaur3.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gkaur3.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gkaur3.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gkaur3.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gkaur3.wordpress.com/58/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gkaur3.wordpress.com&amp;blog=8787259&amp;post=58&amp;subd=gkaur3&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gkaur3.wordpress.com/2011/06/30/automatically-add-requirements-to-quality-center-using-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/819f9ca4a7edcf8b87c44e9aa06c85ea?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gk84</media:title>
		</media:content>
	</item>
		<item>
		<title>Change the default path of Command Prompt</title>
		<link>http://gkaur3.wordpress.com/2011/04/04/change-the-default-path-of-command-prompt/</link>
		<comments>http://gkaur3.wordpress.com/2011/04/04/change-the-default-path-of-command-prompt/#comments</comments>
		<pubDate>Mon, 04 Apr 2011 20:45:45 +0000</pubDate>
		<dc:creator>gk84</dc:creator>
				<category><![CDATA[command prompt]]></category>
		<category><![CDATA[Useful Stuff]]></category>

		<guid isPermaLink="false">http://gkaur3.wordpress.com/?p=50</guid>
		<description><![CDATA[If you are trying to run your code from the command prompt and you have to navigate to your project directory every time, it gets annoying after a while. You can change the default path in the registry but that &#8230; <a href="http://gkaur3.wordpress.com/2011/04/04/change-the-default-path-of-command-prompt/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gkaur3.wordpress.com&amp;blog=8787259&amp;post=50&amp;subd=gkaur3&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you are trying to run your code from the command prompt and you have to navigate to your project directory every time, it gets annoying after a while. You can change the default path in the registry but that might break something else. Here is a simple solution:<br />
1) Navigate to command prompt from the start menu.<br />
2) Right click and create a shortcut<br />
3) Right click and go to properties<br />
4) Change the &#8220;start in &#8221; path to the path of your project<br />
Note: you can drag the shortcut icon to the task bar section near the start button for easy access. </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gkaur3.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gkaur3.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gkaur3.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gkaur3.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gkaur3.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gkaur3.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gkaur3.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gkaur3.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gkaur3.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gkaur3.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gkaur3.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gkaur3.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gkaur3.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gkaur3.wordpress.com/50/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gkaur3.wordpress.com&amp;blog=8787259&amp;post=50&amp;subd=gkaur3&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gkaur3.wordpress.com/2011/04/04/change-the-default-path-of-command-prompt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/819f9ca4a7edcf8b87c44e9aa06c85ea?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gk84</media:title>
		</media:content>
	</item>
		<item>
		<title>Getting started with Protovis</title>
		<link>http://gkaur3.wordpress.com/2011/02/16/getting-started-with-protovis/</link>
		<comments>http://gkaur3.wordpress.com/2011/02/16/getting-started-with-protovis/#comments</comments>
		<pubDate>Wed, 16 Feb 2011 19:52:16 +0000</pubDate>
		<dc:creator>gk84</dc:creator>
				<category><![CDATA[protovis]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[visual]]></category>
		<category><![CDATA[visualization]]></category>

		<guid isPermaLink="false">http://gkaur3.wordpress.com/?p=44</guid>
		<description><![CDATA[I am taking a visual analytics class and we have to do a project to create parallel coordinates using one of the visualization toolkits. The parallel coordinates have to be interactive. I have never used protovis or javascript before, so &#8230; <a href="http://gkaur3.wordpress.com/2011/02/16/getting-started-with-protovis/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gkaur3.wordpress.com&amp;blog=8787259&amp;post=44&amp;subd=gkaur3&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I am taking a visual analytics class and we have to do a project to create parallel coordinates using one of the visualization toolkits. The parallel coordinates have to be interactive. I have never used protovis or javascript before, so after searching on the web, i found this very helpful video which helps beginners setup protovis and create their first visualization:</p>
<p>http://multimedia.journalism.berkeley.edu/tutorials/protovis-javascript-charts-part-1/</p>
<p>The video uses a fancy editor which gives you a live view of how your code will look in the browser. I wanted something free <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  so found, komodo edit which does the same thing. you can download it here:</p>
<p>http://www.activestate.com/komodo-edit</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gkaur3.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gkaur3.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gkaur3.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gkaur3.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gkaur3.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gkaur3.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gkaur3.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gkaur3.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gkaur3.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gkaur3.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gkaur3.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gkaur3.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gkaur3.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gkaur3.wordpress.com/44/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gkaur3.wordpress.com&amp;blog=8787259&amp;post=44&amp;subd=gkaur3&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gkaur3.wordpress.com/2011/02/16/getting-started-with-protovis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/819f9ca4a7edcf8b87c44e9aa06c85ea?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gk84</media:title>
		</media:content>
	</item>
		<item>
		<title>Entry point QtCore4.dll error</title>
		<link>http://gkaur3.wordpress.com/2011/02/13/entry-point-qtcore4-dll-error/</link>
		<comments>http://gkaur3.wordpress.com/2011/02/13/entry-point-qtcore4-dll-error/#comments</comments>
		<pubDate>Sun, 13 Feb 2011 00:11:30 +0000</pubDate>
		<dc:creator>gk84</dc:creator>
				<category><![CDATA[QT]]></category>
		<category><![CDATA[codeblocks]]></category>
		<category><![CDATA[entry point]]></category>
		<category><![CDATA[qt]]></category>
		<category><![CDATA[qtcore4.dll]]></category>

		<guid isPermaLink="false">http://gkaur3.wordpress.com/?p=40</guid>
		<description><![CDATA[If you see the error &#8220;Entry point for function _Z5qFreePV not found in QtCore4.dll.&#8221; while trying to run qt code, most likely you have an another QtCore4.dll sitting somewhere. Do a search for QTCore4.dll and see if you have more &#8230; <a href="http://gkaur3.wordpress.com/2011/02/13/entry-point-qtcore4-dll-error/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gkaur3.wordpress.com&amp;blog=8787259&amp;post=40&amp;subd=gkaur3&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you see the error &#8220;Entry point for function _Z5qFreePV not found in QtCore4.dll.&#8221; while trying to run qt code, most likely you have an another  QtCore4.dll sitting somewhere. Do a search for QTCore4.dll and see if you have more than one. </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gkaur3.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gkaur3.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gkaur3.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gkaur3.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gkaur3.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gkaur3.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gkaur3.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gkaur3.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gkaur3.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gkaur3.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gkaur3.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gkaur3.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gkaur3.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gkaur3.wordpress.com/40/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gkaur3.wordpress.com&amp;blog=8787259&amp;post=40&amp;subd=gkaur3&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gkaur3.wordpress.com/2011/02/13/entry-point-qtcore4-dll-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/819f9ca4a7edcf8b87c44e9aa06c85ea?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gk84</media:title>
		</media:content>
	</item>
		<item>
		<title>Compare Excel Workbooks</title>
		<link>http://gkaur3.wordpress.com/2010/07/30/compare-excel-workbooks/</link>
		<comments>http://gkaur3.wordpress.com/2010/07/30/compare-excel-workbooks/#comments</comments>
		<pubDate>Fri, 30 Jul 2010 14:58:47 +0000</pubDate>
		<dc:creator>gk84</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://gkaur3.wordpress.com/?p=36</guid>
		<description><![CDATA[Workbook1 = &#8220;C:\Documents and Settings\GXK4180\My Documents\Downloads\sheet1.xlsx&#8221; Workbook2 = &#8220;C:\Documents and Settings\GXK4180\My Documents\Downloads\sheet2.xlsx&#8221; WorkBook1SheetNum = 1 WorkBook2SheetNum = 1 Set ExcelObj = CreateObject(&#8220;Excel.Application&#8221;) ExcelObj.Visible = True Set BookObj1 = objExcel.Workbooks.Open(Workbook1) Set BookObj2 = objExcel.Workbooks.Open(Workbook2) Set SheetObj2 = BookObj2.Worksheets(WorkBook1SheetNum) Set SheetObj1 = &#8230; <a href="http://gkaur3.wordpress.com/2010/07/30/compare-excel-workbooks/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gkaur3.wordpress.com&amp;blog=8787259&amp;post=36&amp;subd=gkaur3&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Workbook1 = &#8220;C:\Documents and Settings\GXK4180\My Documents\Downloads\sheet1.xlsx&#8221;<br />
Workbook2 = &#8220;C:\Documents and Settings\GXK4180\My Documents\Downloads\sheet2.xlsx&#8221;</p>
<p>WorkBook1SheetNum = 1<br />
WorkBook2SheetNum = 1 </p>
<p>Set ExcelObj = CreateObject(&#8220;Excel.Application&#8221;)<br />
ExcelObj.Visible = True</p>
<p>Set BookObj1 = objExcel.Workbooks.Open(Workbook1)<br />
Set BookObj2 = objExcel.Workbooks.Open(Workbook2)</p>
<p>Set SheetObj2 = BookObj2.Worksheets(WorkBook1SheetNum)<br />
Set SheetObj1 = BookObj1.Worksheets(WorkBook2SheetNum)</p>
<p>For Each cell In SheetObj1.UsedRange<br />
	If cell.Value  SheetObj2.Range(cell.Address).value then<br />
		cell.Interior.ColorIndex = 3<br />
		else<br />
		cell.Interior.ColorIndex = 0<br />
		 End If<br />
Next</p>
<p>Set objExcel = nothing</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gkaur3.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gkaur3.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gkaur3.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gkaur3.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gkaur3.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gkaur3.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gkaur3.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gkaur3.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gkaur3.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gkaur3.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gkaur3.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gkaur3.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gkaur3.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gkaur3.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gkaur3.wordpress.com&amp;blog=8787259&amp;post=36&amp;subd=gkaur3&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gkaur3.wordpress.com/2010/07/30/compare-excel-workbooks/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/819f9ca4a7edcf8b87c44e9aa06c85ea?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gk84</media:title>
		</media:content>
	</item>
		<item>
		<title>Mount iso image in virtual cd drive</title>
		<link>http://gkaur3.wordpress.com/2009/07/30/mount-iso-image-in-virtual-cd-drive/</link>
		<comments>http://gkaur3.wordpress.com/2009/07/30/mount-iso-image-in-virtual-cd-drive/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 21:21:42 +0000</pubDate>
		<dc:creator>gk84</dc:creator>
				<category><![CDATA[Useful Stuff]]></category>
		<category><![CDATA[cd burn]]></category>
		<category><![CDATA[iso image]]></category>
		<category><![CDATA[mount image]]></category>
		<category><![CDATA[virtual drive]]></category>

		<guid isPermaLink="false">http://gkaur3.wordpress.com/?p=17</guid>
		<description><![CDATA[If you ever download something and its an image file (.iso), you have two options. Either you can burn it to a cd or you can mount it to a virtual cd drive. To mount it to a virtual cd &#8230; <a href="http://gkaur3.wordpress.com/2009/07/30/mount-iso-image-in-virtual-cd-drive/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gkaur3.wordpress.com&amp;blog=8787259&amp;post=17&amp;subd=gkaur3&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you ever download something and its an image file (.iso), you have two options. Either you can burn it to a cd or you can mount it to a virtual cd drive.</p>
<p>To mount it to a virtual cd drive, you need to download Virtual CD-Rom control panel for windows xp from Microsoft website :</p>
<p><a title="Virtual CD-Rom Download" href="http://download.microsoft.com/download/7/b/6/7b6abd84-7841-4978-96f5-bd58df02efa2/winxpvirtualcdcontrolpanel_21.exe">Virtual CD-Rom Download</a></p>
<p>After you download and upzip it:<br />
1. Double click on VCdControlTool.exe<br />
2. Click on &#8216;Driver Control&#8217;<br />
3. Click on Install Driver button. Navigate to the folder where you unzipped the software and locate<br />
    and double click on the file called: VCdRom.sys<br />
4. Click Start<br />
5. Click OK<br />
6. Click &#8216;Add Drive&#8217;. Select an unused drive<br />
7. Click Mount<br />
8. Find the image (.iso) that you wanted to mount and click OK.</p>
<p>Now you can go to My Computer and double click on the drive that you just created. It will act as if you were using a regular cd.</p>
<p>UPDATE: virtual cd drive doesn&#8217;t work for vista or windows 7. For vista or windows 7 use Virtual Clone Drive.<br />
Download it from here:</p>
<p><a title="Virtual Clone Drive" href="http://www.slysoft.com/en/virtual-clonedrive.html">Virtual Clone Drive Download</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gkaur3.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gkaur3.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gkaur3.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gkaur3.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gkaur3.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gkaur3.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gkaur3.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gkaur3.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gkaur3.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gkaur3.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gkaur3.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gkaur3.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gkaur3.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gkaur3.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gkaur3.wordpress.com&amp;blog=8787259&amp;post=17&amp;subd=gkaur3&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gkaur3.wordpress.com/2009/07/30/mount-iso-image-in-virtual-cd-drive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/819f9ca4a7edcf8b87c44e9aa06c85ea?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gk84</media:title>
		</media:content>
	</item>
		<item>
		<title>Batch Script</title>
		<link>http://gkaur3.wordpress.com/2009/07/30/batch-script/</link>
		<comments>http://gkaur3.wordpress.com/2009/07/30/batch-script/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 20:47:09 +0000</pubDate>
		<dc:creator>gk84</dc:creator>
				<category><![CDATA[batch script]]></category>

		<guid isPermaLink="false">http://gkaur3.wordpress.com/?p=11</guid>
		<description><![CDATA[In windows, you can create batch file using notepad. Type in your commands in notepad and when you save it make sure to select &#8220;all files&#8221; under &#8220;Save as file&#8221;. Name the file with the extension .bat. For example: myfile.bat &#8230; <a href="http://gkaur3.wordpress.com/2009/07/30/batch-script/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gkaur3.wordpress.com&amp;blog=8787259&amp;post=11&amp;subd=gkaur3&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In windows, you can create batch file using notepad. Type in your commands in notepad and when you save it make sure to select &#8220;all files&#8221; under &#8220;Save as file&#8221;. Name the file with the extension .bat.<br />
For example: myfile.bat<br />
After you have created and saved the file, double click to run it.<br />
<strong><br />
To copy folders from one directory to another:</strong></p>
<p><em><strong>Simple way of doing it:</strong> </em></p>
<p>xcopy &#8220;X:\webservices\tubWebService&#8221; &#8220;C:\movefolder&#8221; /s</p>
<p>Above will copy whatever is in folder tubwebservice to the folder movefolder</p>
<p><em><strong>Below are additional options for the xcopy command:</strong><br />
</em><br />
XCOPY source [destination] [/A | /M] [/D[:date]] [/P] [/S [/E]] [/V] [/W] [/C] [/I] [/Q] [/F] [/L] [/H] [/R] [/T] [/U] [/K] [/N] [/O] [/X] [/Y] [/-Y] [/Z] [/EXCLUDE:file1[+file2][+file3]&#8230;]</p>
<p>source Specifies the file(s) to copy.<br />
destination Specifies the location and/or name of new files.<br />
/A Copies only files with the archive attribute set, doesn&#8217;t change the attribute.<br />
/M Copies only files with the archive attribute set, turns off the archive attribute.<br />
/D:m-d-y Copies files changed on or after the specified date. If no date is given, copies only those files whose source time is newer than the destination time.<br />
/EXCLUDE:file1[+file2][+file3]&#8230; Specifies a list of files containing strings. When any of the strings match any part of the absolute path of the file to be copied, that file will be excluded from being copied. For example, specifying a string like \obj\ or .obj will exclude all files underneath the directory obj or all files with the .obj extension respectively.<br />
/P Prompts you before creating each destination file.<br />
/S Copies directories and subdirectories except empty ones.<br />
/E Copies directories and subdirectories, including empty ones. Same as /S /E. May be used to modify /T.<br />
/V Verifies each new file.<br />
/W Prompts you to press a key before copying.<br />
/C Continues copying even if errors occur.<br />
/I If destination does not exist and copying more than one file, assumes that destination must be a directory.<br />
/Q Does not display file names while copying.<br />
/F Displays full source and destination file names while copying.<br />
/L Displays files that would be copied.<br />
/H Copies hidden and system files also.<br />
/R Overwrites read-only files.<br />
/T Creates directory structure, but does not copy files. Does not include empty directories or subdirectories. /T /E includes empty directories and subdirectories.<br />
/U Copies only files that already exist in destination.<br />
/K Copies attributes. Normal Xcopy will reset read-only attribute<br />
/N Copies using the generated short names.<br />
/O Copies file ownership and ACL information.<br />
/X Copies file audit settings (implies /O).<br />
/Y Suppresses prompting to confirm you want to overwrite an existing destination file.<br />
/-Y Causes prompting to confirm you want to overwrite an existing destination file.<br />
/Z Copies networked files in restartable mode. </p>
<p><strong><strong>To copy a file:</strong></strong><br />
copy a:\readme.txt a:\windows\help.txt</p>
<p><strong>To delete file:</strong><br />
del filename</p>
<p><strong>To rename a file:</strong><br />
Ren oldfile newfile</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gkaur3.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gkaur3.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gkaur3.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gkaur3.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gkaur3.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gkaur3.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gkaur3.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gkaur3.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gkaur3.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gkaur3.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gkaur3.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gkaur3.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gkaur3.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gkaur3.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gkaur3.wordpress.com&amp;blog=8787259&amp;post=11&amp;subd=gkaur3&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gkaur3.wordpress.com/2009/07/30/batch-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/819f9ca4a7edcf8b87c44e9aa06c85ea?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">gk84</media:title>
		</media:content>
	</item>
	</channel>
</rss>
