Chapter 3. Manipulating Files, Folders, and Shares

Copying Files with copy, xcopy, and robocopy

There are three primary commands that are useful for copying files.

image

copy

You can use the copy command for basic file copying. The format is

copy source [destination ...

Get Windows Server 2008 Portable Command Guide: MCTS 70-640, 70-642, 70-643, and MCITP 70-646, 70-647 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.