Copy The Folder Structures Only - Windows Command Line


Copy The Folder Structures Only - Windows Command Line


Scenario 1 : Copy Empty Folder Structure from Source Location To Destination Location

Command : xcopy /t  /e  Source Destination

/t - is used to copy folder structure



Scenario 2 : Copy Non Empty Folder Structure from Source Location To Destination Location.

Command : xcopy /t  /s  Source Destination




Scenario 2 : Copy Empty and Non Empty Folder Structure from Source Location To Destination Location.

Command : xcopy /t  /s  /e  Source Destination





Comments