ProProfs - The Knowledge FREEway
CompTIA Home
 Network+ Exam
A+ Certification
Study Guide
Articles
Active Membership
Practice Questions
Practice Exams
Software
Tutorials & Tips
Cram Sheets
A+ Forum
A+ Wiki
A+ WebSchool
A+ Flashcards
A+ Quiz School
APlus Jobs
A+ Book Deals
Deals On Ebay
 
Google

A+ Study Guide: Command Line & OS Utilities

XCOPY
Opens More Info in a new browser window
   Click on the image to zoom

Copies directories, their subdirectories, and files except hidden and system files. Opens More Info in a new browser window

Syntax

XCOPY source [ destination ] [ /Y| / -Y ] [ /A | /M ] [ /D:date ] [ /P ] [ /S ] [ /E ] [ /W ]

Frequently Used Switches

/Y      Overwrites existing files without prompting.

/-Y      Prompts you before overwriting existing files.

/A      Copies files with the archive attribute set, doesn't change the attribute.

/M      Copies files with the archive attribute set, turns off the archive attribute.

/D:date      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.

/P      Prompts you before creating each destination file.

/S      Copies directories and sub directories excepting the empty ones.

/E      Copies directories and sub directories, including empty ones. Same as /S /E. May be used to modify /T.

/W      Prompts you to press a key before copying.

 

Google   

 \n
   
Home  |  Site Map  |  Contact
Copyright © 2005-2010 ProProfs.com - Privacy & Terms