- Click Start, and then click Run.
- In the Open box, type cmd, and then click OK.
- Type xcopy source destination /O /X /E /H /K and then press ENTER, where source is the source path for the files to be copied, and destination is the destination path for the files.
Example
Type xcopy c:\olddocs D:\newdocs /O /X /E /H /K, and then press ENTER, where olddocs is the source folder and newdocs is the destination folder.
For more information about Xcopy switches, type xcopy /? at the command prompt, and then press ENTER.