Friday, November 28, 2008

FOLDER COPY

how can i copy entire folder( not individual file in the folder) from one drive to another drive using command prompt i mean mainly using "copy" and "xcopy"? entire folder need to copy not file in the folder.

Use the '/s' switch or use '/i' if you want to.'/e' creates directories even empty ones. 

syntax: 

XCOPY source [destination] [/i] [/s] [/e]

like: XCOPY D:\c-java e:\cc /i /s /e

No comments: