<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- generator="HardwareAnalysis.Com" -->
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="">
        <title>Hardware Analysis - Help with a .bat file</title>
        <description>Hardware Analysis Community Forums</description>
        <link>http://www.hardwareanalysis.com/content/topic/68932/</link>
        <image rdf:resource="http://media.hardwareanalysis.com/halogo.gif" />
       <dc:date>2008-11-22T17:56:28-05:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://www.hardwareanalysis.com/content/topic/68932/#513468"/>
                <rdf:li rdf:resource="http://www.hardwareanalysis.com/content/topic/68932/#513422"/>
                <rdf:li rdf:resource="http://www.hardwareanalysis.com/content/topic/68932/#513380"/>
                <rdf:li rdf:resource="http://www.hardwareanalysis.com/content/topic/68932/#512824"/>
                <rdf:li rdf:resource="http://www.hardwareanalysis.com/content/topic/68932/#512806"/>
                <rdf:li rdf:resource="http://www.hardwareanalysis.com/content/topic/68932/#512800"/>
                <rdf:li rdf:resource="http://www.hardwareanalysis.com/content/topic/68932/#512778"/>
                <rdf:li rdf:resource="http://www.hardwareanalysis.com/content/topic/68932/#512776"/>
                <rdf:li rdf:resource="http://www.hardwareanalysis.com/content/topic/68932/#512771"/>
                <rdf:li rdf:resource="http://www.hardwareanalysis.com/content/topic/68932/#0"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://media.hardwareanalysis.com/halogo.gif">
        <title>Hardware Analysis</title>
        <link>http://www.hardwareanalysis.com/content/topic/68932/</link>
        <url>http://media.hardwareanalysis.com/halogo.gif</url>
    </image>
    <item rdf:about="http://www.hardwareanalysis.com/content/topic/68932/#513468">
        <dc:format>text/html</dc:format>
        <dc:date>2007-10-09T11:13:22-05:00</dc:date>
        <dc:creator>Scott Harris</dc:creator>
        <title>Re: Help with a .bat file</title>
        <link>http://www.hardwareanalysis.com/content/topic/68932/#513468</link>
        <description>holy copy batchman,  that worked!</description>
    </item>
    <item rdf:about="http://www.hardwareanalysis.com/content/topic/68932/#513422">
        <dc:format>text/html</dc:format>
        <dc:date>2007-10-08T23:20:20-05:00</dc:date>
        <dc:creator>FordGT90Concept</dc:creator>
        <title>Re: Help with a .bat file</title>
        <link>http://www.hardwareanalysis.com/content/topic/68932/#513422</link>
        <description>FOR /R C:\test1 %%f IN (*.*) DO copy &amp;quot;%%f&amp;quot; &amp;quot;C:\test2\%%~nf%%~xf&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Just replace &amp;quot;C:\test1&amp;quot; to the directory you want to copy from and change &amp;quot;C:\test2\&amp;quot; to the directory you want to copy to.  It will copy all files found in test1 (including subdirectories) in the directory of test2.  It will overwrite existing files as it copies.</description>
    </item>
    <item rdf:about="http://www.hardwareanalysis.com/content/topic/68932/#513380">
        <dc:format>text/html</dc:format>
        <dc:date>2007-10-08T16:58:33-05:00</dc:date>
        <dc:creator>Scott Harris</dc:creator>
        <title>Re: Help with a .bat file</title>
        <link>http://www.hardwareanalysis.com/content/topic/68932/#513380</link>
        <description>i have a similar batch i need to run.  i have 1600 folders containing 2 files.  i need to copy just those files in each folder to another single folder.  i cannot program my way out of a paper bag so i need help. any ideas?</description>
    </item>
    <item rdf:about="http://www.hardwareanalysis.com/content/topic/68932/#512824">
        <dc:format>text/html</dc:format>
        <dc:date>2007-10-04T11:01:35-05:00</dc:date>
        <dc:creator>DublinGunner</dc:creator>
        <title>Re: Help with a .bat file</title>
        <link>http://www.hardwareanalysis.com/content/topic/68932/#512824</link>
        <description>xcopy - now there's a blast from the past.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Could you not just use explorer? Or have you no OS installed?</description>
    </item>
    <item rdf:about="http://www.hardwareanalysis.com/content/topic/68932/#512806">
        <dc:format>text/html</dc:format>
        <dc:date>2007-10-04T07:04:45-05:00</dc:date>
        <dc:creator>FordGT90Concept</dc:creator>
        <title>Re: Help with a .bat file</title>
        <link>http://www.hardwareanalysis.com/content/topic/68932/#512806</link>
        <description>I expected there to be a flag on the copy man to fulfill that purpose but didn't find one.  I knew there had to be a recursive copy somewhere.</description>
    </item>
    <item rdf:about="http://www.hardwareanalysis.com/content/topic/68932/#512800">
        <dc:format>text/html</dc:format>
        <dc:date>2007-10-04T05:07:26-05:00</dc:date>
        <dc:creator>Dragon Peaceful</dc:creator>
        <title>Re: Help with a .bat file</title>
        <link>http://www.hardwareanalysis.com/content/topic/68932/#512800</link>
        <description>Use &amp;quot;xcopy F:\Docs C:\Docs&amp;quot;.  Done.&lt;br /&gt;
&lt;br /&gt;
It's equivalent to &amp;quot;cp -R&amp;quot; in linux, which copies recursively files in the entire directory tree.&lt;br /&gt;
</description>
    </item>
    <item rdf:about="http://www.hardwareanalysis.com/content/topic/68932/#512778">
        <dc:format>text/html</dc:format>
        <dc:date>2007-10-04T02:13:11-05:00</dc:date>
        <dc:creator>Chris M</dc:creator>
        <title>Re: Help with a .bat file</title>
        <link>http://www.hardwareanalysis.com/content/topic/68932/#512778</link>
        <description>Can't you just use wildcards(*) or is that Linux only?</description>
    </item>
    <item rdf:about="http://www.hardwareanalysis.com/content/topic/68932/#512776">
        <dc:format>text/html</dc:format>
        <dc:date>2007-10-04T01:49:38-05:00</dc:date>
        <dc:creator>FordGT90Concept</dc:creator>
        <title>Re: Help with a .bat file</title>
        <link>http://www.hardwareanalysis.com/content/topic/68932/#512776</link>
        <description>You'll need a FOR loop:&lt;br /&gt;
&lt;a class=&quot;ext&quot; href=&quot;/action/r/http://www.computerhope.com/forhlp.htm&quot; target=&quot;_blank&quot;&gt;http://www.computerhope.com/forhlp.htm&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
And a DIR command to get the list of sub directories:&lt;br /&gt;
&lt;a class=&quot;ext&quot; href=&quot;/action/r/http://www.computerhope.com/dirhlp.htm&quot; target=&quot;_blank&quot;&gt;http://www.computerhope.com/dirhlp.htm&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Maybe:&lt;br /&gt;
FOR /R F:\Docs %%f IN (dir %%f) DO copy %%f C:\Docs\%%f</description>
    </item>
    <item rdf:about="http://www.hardwareanalysis.com/content/topic/68932/#512771">
        <dc:format>text/html</dc:format>
        <dc:date>2007-10-04T01:11:46-05:00</dc:date>
        <dc:creator>Jay Curtis</dc:creator>
        <title>Re: Help with a .bat file</title>
        <link>http://www.hardwareanalysis.com/content/topic/68932/#512771</link>
        <description>hahaha part of my code made a face =) but the code is : performcopy but with out the space </description>
    </item>
    <item rdf:about="http://www.hardwareanalysis.com/content/topic/68932/#0">
        <dc:format>text/html</dc:format>
        <dc:date>2007-10-04T01:09:26-05:00</dc:date>
        <dc:creator>Jay Curtis</dc:creator>
        <title>Help with a .bat file</title>
        <link>http://www.hardwareanalysis.com/content/topic/68932/#0</link>
        <description>ok so Im writing a bat file to move everything from a folder name Docs (F:\Docs) from an external drive to the hard drive my computer (C:\Docs). I wrote this batch file but my problem is its not moving the subfolders in F:\Docs its only moving the files in that folder to C:\Docs&lt;br /&gt;
&lt;br /&gt;
@echo off &lt;br /&gt;
goto start &lt;br /&gt;
:Redo &lt;br /&gt;
echo Press any key to repeat to move Docs Folder into C:\Docs... &lt;br /&gt;
pause&amp;gt;null &lt;br /&gt;
:Start &lt;br /&gt;
F: &lt;br /&gt;
echo Press any key to move Docs Folder into C:\Docs... &lt;br /&gt;
pause&amp;gt;null   &lt;br /&gt;
echo Press any key to copy all contents in the folder Docs to the C:\Docs... &lt;br /&gt;
pause&amp;gt;null&lt;br /&gt;
C:&lt;br /&gt;
mkdir C:\Docs &lt;br /&gt;
goto Performcopy &lt;br /&gt;
&lt;img src=&quot;http://media.hardwareanalysis.com/smilies/smile5.gif&quot; width=&quot;14&quot; height=&quot;14&quot; border=&quot;0&quot; alt=&quot;:P&quot; title=&quot;:P&quot;&gt;erformcopy&lt;br /&gt;
copy F:\Docs C:\Docs &lt;br /&gt;
goto Redo&lt;br /&gt;
&lt;br /&gt;
so when this batch file is done I want all the files and the subfolders in C:\Docs&lt;br /&gt;
Can anyone tell me how to move the subfolders too =)</description>
    </item>
</rdf:RDF>
