<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Tech-Recipes - Latest Comments in XCOPY command : Using the /EXCLUDE flag</title><link>http://tech-recipes.disqus.com/</link><description>Cookbook of Tech Tutorials</description><atom:link href="https://tech-recipes.disqus.com/xcopy_command_using_the_exclude_flag_batch_file_programming_tech_recipes/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Tue, 08 Mar 2011 11:48:32 -0000</lastBuildDate><item><title>Re: XCOPY command : Using the /EXCLUDE flag</title><link>http://www.tech-recipes.com/rx/2682/xcopy_command_using_the_exclude_flag/#comment-162429730</link><description>&lt;p&gt;good tip, cheers bruv :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Auldy66</dc:creator><pubDate>Tue, 08 Mar 2011 11:48:32 -0000</pubDate></item><item><title>Re: XCOPY command : Using the /EXCLUDE flag</title><link>http://www.tech-recipes.com/rx/2682/xcopy_command_using_the_exclude_flag/#comment-153726009</link><description>&lt;p&gt;Wow.  Thank you very much.  This page is the most informative I have found on the web!  I was lost without your help.  Thanks again!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">upthereinthesky</dc:creator><pubDate>Mon, 21 Feb 2011 23:15:27 -0000</pubDate></item><item><title>Re: XCOPY command : Using the /EXCLUDE flag</title><link>http://www.tech-recipes.com/rx/2682/xcopy_command_using_the_exclude_flag/#comment-132320693</link><description>&lt;p&gt;xcopy source dest /exclude:list.txt&lt;/p&gt;&lt;p&gt;contents of 'list.txt':&lt;br&gt;\X\ --for an exact directory match&lt;br&gt;\X --if directory begins with 'X'&lt;br&gt;X\  --if ends with 'X'&lt;br&gt;X   --for anything (file/directory) containing 'X'&lt;/p&gt;&lt;p&gt;I'm still unsure as to wildcards tho&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Archarios</dc:creator><pubDate>Fri, 21 Jan 2011 01:19:01 -0000</pubDate></item><item><title>Re: XCOPY command : Using the /EXCLUDE flag</title><link>http://www.tech-recipes.com/rx/2682/xcopy_command_using_the_exclude_flag/#comment-100307834</link><description>&lt;p&gt;best explaint on the web&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Duhgorski</dc:creator><pubDate>Sun, 21 Nov 2010 15:44:13 -0000</pubDate></item><item><title>Re: XCOPY command : Using the /EXCLUDE flag</title><link>http://www.tech-recipes.com/rx/2682/xcopy_command_using_the_exclude_flag/#comment-42954908</link><description>&lt;p&gt;Never having had to use /Exclude, I found the documentation at MS and elsewhere pretty confusing because no mention was made explicitly of having to define the list in a separate file. This article was very helpful in setting it right - thanks a lot!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">fantomaster</dc:creator><pubDate>Fri, 02 Apr 2010 20:10:44 -0000</pubDate></item><item><title>Re: XCOPY command : Using the /EXCLUDE flag</title><link>http://www.tech-recipes.com/rx/2682/xcopy_command_using_the_exclude_flag/#comment-35543902</link><description>&lt;p&gt;I finally know how to use /exclude, thanks a lot!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Named</dc:creator><pubDate>Fri, 19 Feb 2010 17:39:24 -0000</pubDate></item><item><title>Re: XCOPY command : Using the /EXCLUDE flag</title><link>http://www.tech-recipes.com/rx/2682/xcopy_command_using_the_exclude_flag/#comment-11079406</link><description>&lt;p&gt;Thank a lot&lt;/p&gt;&lt;p&gt;Its very clear&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kledi</dc:creator><pubDate>Thu, 18 Jun 2009 05:11:38 -0000</pubDate></item><item><title>Re: XCOPY command : Using the /EXCLUDE flag</title><link>http://www.tech-recipes.com/rx/2682/xcopy_command_using_the_exclude_flag/#comment-10692122</link><description>&lt;p&gt;You need to convert the path to short (i.e. DOS 8.3) format. then it will work OK.&lt;/p&gt;&lt;p&gt;e.g. "My Documents" becomes MYDOCU~1&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Steve</dc:creator><pubDate>Wed, 10 Jun 2009 06:09:50 -0000</pubDate></item><item><title>Re: XCOPY command : Using the /EXCLUDE flag</title><link>http://www.tech-recipes.com/rx/2682/xcopy_command_using_the_exclude_flag/#comment-10430088</link><description>&lt;p&gt;Any clue how to exclude a folder from being copied?  Say for instance I have folder "X" on my desktop, but don't want it or its contents copied when I run my batch backup that copies everything else on my desktop.  Can't seem to find anything regarding this.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">JohnG</dc:creator><pubDate>Wed, 03 Jun 2009 10:05:19 -0000</pubDate></item><item><title>Re: XCOPY command : Using the /EXCLUDE flag</title><link>http://www.tech-recipes.com/rx/2682/xcopy_command_using_the_exclude_flag/#comment-7419642</link><description>&lt;p&gt;Too bad I tried excluding each file extension within the command before reading your post :-)&lt;/p&gt;&lt;p&gt;Thanks for the help!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DizzyGoldfish</dc:creator><pubDate>Sun, 22 Mar 2009 16:59:14 -0000</pubDate></item><item><title>Re: XCOPY command : Using the /EXCLUDE flag</title><link>http://www.tech-recipes.com/rx/2682/xcopy_command_using_the_exclude_flag/#comment-4987338</link><description>&lt;p&gt;Just guessing here but if you can't quote the file path, i.e., "My Documents", then you should at least be able to use the 8dot3 equivalent.  (MYDOCU~1).&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Joe Webb</dc:creator><pubDate>Thu, 08 Jan 2009 10:14:26 -0000</pubDate></item><item><title>Re: XCOPY command : Using the /EXCLUDE flag</title><link>http://www.tech-recipes.com/rx/2682/xcopy_command_using_the_exclude_flag/#comment-4797194</link><description>&lt;p&gt;Okay, but how do you go about using a an exclude file whose absolute path contains spaces e.g. one that is located in the "My Documents" tree?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">13eastie</dc:creator><pubDate>Wed, 31 Dec 2008 08:41:42 -0000</pubDate></item><item><title>Re: XCOPY command : Using the /EXCLUDE flag</title><link>http://www.tech-recipes.com/rx/2682/xcopy_command_using_the_exclude_flag/#comment-3991501</link><description>&lt;p&gt;very nice, I didn't try it yet, but I'm sure in I will in future . . &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mustafa</dc:creator><pubDate>Mon, 24 Nov 2008 14:21:23 -0000</pubDate></item></channel></rss>