<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:s="http://www.techrepublic.com/search" xmlns:dc="http://purl.org/dc/elements/1.1/"  xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
    <title><![CDATA[Questions & Answers: Cmd prompt xcopy ]]></title>
    <link><![CDATA[http://www.techrepublic.com/forum/questions/101-231697/cmd-prompt-xcopy]]></link>
    <atom:link rel="hub" type="application/rss+xml" href="http://pubsubhubbub.appspot.com/" />
    <atom:link rel="self" type="application/rss+xml" href="http://www.techrepublic.com/forum/questions/101-231697/rss" />

    <description><![CDATA[]]></description>
    <language>en-us</language>
    <lastBuildDate>2013-06-20T02:31:53-07:00</lastBuildDate>
             

    <item>
        <title><![CDATA[if not exist]]></title>
        <link><![CDATA[http://www.techrepublic.com/forum/questions/101-231697/cmd-prompt-xcopy?#msg-2665866]]></link>
        <description><![CDATA[if not exist c:\targetfile.txt copy d:\sourcefile.txt c:\]]></description>
        <guid><![CDATA[http://www.techrepublic.com/forum/questions/101-231697/cmd-prompt-xcopy?#msg-2665866]]></guid>
        <dc:creator><![CDATA[joseph@...]]></dc:creator>
        <pubDate>Mon, 22 Dec 2008 11:46:29 -0800</pubDate>
    </item>
             

    <item>
        <title><![CDATA[Or]]></title>
        <link><![CDATA[http://www.techrepublic.com/forum/questions/101-231697/cmd-prompt-xcopy?#msg-2602833]]></link>
        <description><![CDATA[Write a VB script that will only copy files that are not present in the destination folder.]]></description>
        <guid><![CDATA[http://www.techrepublic.com/forum/questions/101-231697/cmd-prompt-xcopy?#msg-2602833]]></guid>
        <dc:creator><![CDATA[LarryD4]]></dc:creator>
        <pubDate>Wed, 24 Sep 2008 05:54:15 -0700</pubDate>
    </item>
             

    <item>
        <title><![CDATA[Why not just set the files to read only?]]></title>
        <link><![CDATA[http://www.techrepublic.com/forum/questions/101-231697/cmd-prompt-xcopy?#msg-2602831]]></link>
        <description><![CDATA[Why not just set the files you don't want overwritten to read only?Then the only way XCopy would overwrite them is if you use the switch that tells it to overwrite read only files.]]></description>
        <guid><![CDATA[http://www.techrepublic.com/forum/questions/101-231697/cmd-prompt-xcopy?#msg-2602831]]></guid>
        <dc:creator><![CDATA[LarryD4]]></dc:creator>
        <pubDate>Wed, 24 Sep 2008 05:53:00 -0700</pubDate>
    </item>
             

    <item>
        <title><![CDATA[CMD PROMPT XCOPY]]></title>
        <link><![CDATA[http://www.techrepublic.com/forum/questions/101-231697/cmd-prompt-xcopy?#msg-2602735]]></link>
        <description><![CDATA[FROM MS SUP. SITE&quot;/Y           Suppresses prompting to confirm you want to overwrite an               existing destination file.  /-Y          Causes prompting to confirm you want to overwrite an               existing destination file.&quot;XcopyCopies files and directory trees.XCOPY source [destination] [/A | /M] [/D[:date]] [/P] [/S [/E]] [/V] [/W]                           [/C]   [/F] [/L] [/H] [/R] [/T]                            [/K] [/N] [/O] [/X] [/Y] [/-Y] [/Z]                           [/EXCLUDE:file1[+file2][+file3]...]  source       Specifies the file(s) to copy.  destination  Specifies the location and/or name of new files.  /A           Copies only files with the archive attribute set,               doesn't change the attribute.  /M           Copies only files with the archive attribute set,               turns off the archive attribute.  /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.  /EXCLUDE:file1[+file2][+file3]...               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.  /P           Prompts you before creating each destination file.  /S           Copies directories and subdirectories except empty ones.  /E           Copies directories and subdirectories, including empty ones.               Same as /S /E. May be used to modify /T.  /V           Verifies each new file.  /W           Prompts you to press a key before copying.  /C           Continues copying even if errors occur.  /I           If destination does not exist and copying more than one file,               assumes that destination must be a directory.  /Q           Does not display file names while copying.  /F           Displays full source and destination file names while copying.  /L           Displays files that would be copied.  /H           Copies hidden and system files also.  /R           Overwrites read-only files.  /T           Creates directory structure, but does not copy files. Does not               include empty directories or subdirectories. /T /E includes               empty directories and subdirectories.  /U           Copies only files that already exist in destination.  /K           Copies attributes. Normal Xcopy will reset read-only attributes.  /N           Copies using the generated short names.  /O           Copies file ownership and ACL information.  /X           Copies file audit settings (implies /O).  /Y           Suppresses prompting to confirm you want to overwrite an               existing destination file.  /-Y          Causes prompting to confirm you want to overwrite an               existing destination file.  /Z           Copies networked files in restartable mode.The switch /Y may be preset in the COPYCMD environment variable.This may be overridden with /-Y on the command line.]]></description>
        <guid><![CDATA[http://www.techrepublic.com/forum/questions/101-231697/cmd-prompt-xcopy?#msg-2602735]]></guid>
        <dc:creator><![CDATA[afgborel@...]]></dc:creator>
        <pubDate>Wed, 24 Sep 2008 05:34:00 -0700</pubDate>
    </item>
             

    <item>
        <title><![CDATA[Not sure what you want to do?]]></title>
        <link><![CDATA[http://www.techrepublic.com/forum/questions/101-231697/cmd-prompt-xcopy?#msg-2427096]]></link>
        <description><![CDATA[Do you want to append existing files or create a new destination file?]]></description>
        <guid><![CDATA[http://www.techrepublic.com/forum/questions/101-231697/cmd-prompt-xcopy?#msg-2427096]]></guid>
        <dc:creator><![CDATA[ComputerCookie]]></dc:creator>
        <pubDate>Tue, 12 Feb 2008 20:41:27 -0800</pubDate>
    </item>
             

    <item>
        <title><![CDATA[Check syntax: xcopy source [destination] [options]]]></title>
        <link><![CDATA[http://www.techrepublic.com/forum/questions/101-231697/cmd-prompt-xcopy?#msg-2427082]]></link>
        <description><![CDATA[Peter, probably way too late for you, but the order of cmdline parameters might be the problem.I'm using:xcopy source dest /Y /S /M /Cunder WinXP SP2.Most of the DOS/CMD commands are very fussy (aka dumb) about parsing the cmdline, unlike *nix commands.Robert D.]]></description>
        <guid><![CDATA[http://www.techrepublic.com/forum/questions/101-231697/cmd-prompt-xcopy?#msg-2427082]]></guid>
        <dc:creator><![CDATA[robert_j_dixon@...]]></dc:creator>
        <pubDate>Tue, 12 Feb 2008 20:16:30 -0800</pubDate>
    </item>
             

    <item>
        <title><![CDATA[Xcopy or robocopy, still no joy]]></title>
        <link><![CDATA[http://www.techrepublic.com/forum/questions/101-231697/cmd-prompt-xcopy?#msg-2290300]]></link>
        <description><![CDATA[Still cannot restart copy process and supress the overwrite dialogue and set as no as opposed to default of yes]]></description>
        <guid><![CDATA[http://www.techrepublic.com/forum/questions/101-231697/cmd-prompt-xcopy?#msg-2290300]]></guid>
        <dc:creator><![CDATA[peter_mallory@...]]></dc:creator>
        <pubDate>Mon, 30 Jul 2007 06:24:58 -0700</pubDate>
    </item>
             

    <item>
        <title><![CDATA[Robocopy]]></title>
        <link><![CDATA[http://www.techrepublic.com/forum/questions/101-231697/cmd-prompt-xcopy?#msg-2290218]]></link>
        <description><![CDATA[TRy the Robocopy tool which comes with Windows 2003 Resource Kit instead which might do it better than XCopy. The Kit can be installed on any version of Windows XP.]]></description>
        <guid><![CDATA[http://www.techrepublic.com/forum/questions/101-231697/cmd-prompt-xcopy?#msg-2290218]]></guid>
        <dc:creator><![CDATA[p.j.hutchison@...]]></dc:creator>
        <pubDate>Mon, 30 Jul 2007 05:11:06 -0700</pubDate>
    </item>
             

    <item>
        <title><![CDATA[Cmd prompt xcopy]]></title>
        <link><![CDATA[http://www.techrepublic.com/forum/questions/101-231697/cmd-prompt-xcopy?#msg-2290206]]></link>
        <description><![CDATA[I'd like to know how to suppresses prompting to confirm you want to overwrite an existing destination file, but set this to &quot;No&quot;. At present: xcopy C:\source/S/C/Y D:\destinationhowever this defaults to overwriting the already copied files. Is there a was in cmd prompt to suppress the prompt and NOT overwrtie existing files?]]></description>
        <guid><![CDATA[http://www.techrepublic.com/forum/questions/101-231697/cmd-prompt-xcopy?#msg-2290206]]></guid>
        <dc:creator><![CDATA[peter_mallory@...]]></dc:creator>
        <pubDate>Mon, 30 Jul 2007 04:31:23 -0700</pubDate>
    </item>
    </channel>
</rss>

