simple and fast way to copy files, dirtories and subfolder to a desitination locations

Posted on 2011-05-01
Last Modified: 2012-05-11
what is the best and simple command to copy all the files/subfolder  from 1 place to the others?

xcopy c:\base_folder /s    y:\base_folder   /y /v

-- I like to copy a folder, with all its files and sub directory, to another driver,  replace the file is exist,
  if folder not exist, will create it,  if folder exist, will replace it,  and then verify if copy complete.
Question by:mshox1
    LVL 3

    Accepted Solution

    robocopy is my preferred choice (part of Windows 2003 Resource Kit).

    Run with /? option to see options.
    LVL 3

    Assisted Solution

    Robocopy is available at

    Something along the lines of:

    verify on
    robocopy C:\base_folder y:\base_folder /E

    should do it I think.  It'll create any new folders and files and replace any files that have changed between the source and destination and will show verification.  By default it will not copy any files that have not changed but this can be overridden if needed with /IS.

    If you must use Xcopy, I think this will work:

    xcopy c:\base_folder  y:\base_folder /e /v /y

    Author Closing Comment

    thank you very much

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Join & Write a Comment

    Suggested Solutions

    In a hurry?.. scroll down to "HERE's HOW TO DO IT" Section. Greetings All, I was going to post this as question/solution, but its seems more appropriate as an article considering its length.  I felt it important to illucidate all the details c…
    Pop up windows can be a useful feature of any Filemaker database.  Though best used sparingly, they can be employed in a multitude of different ways, for example;  as a splash screen at login, during scripted processes to control user input, as pick…
    In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
    With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now