xcopy: create a new directory same as the source directory
Posted: 28 Sep 2011 19:25
Supposed a source directory is to be copied to a destination
But the computer does not create a destination folder called "folder"
I have to manually do this
Is there a parameter or something to do this?
Code: Select all
xcopy "c:\folder" "d:\"
But the computer does not create a destination folder called "folder"
I have to manually do this
Code: Select all
xcopy "c:\folder" "d:\folder"
Is there a parameter or something to do this?