S
Shaun
Hi,
I am trying to copy all folders, subfolders and files with folder names that
curly braces at the start and end of the folder name from C:\Home\a\b\ab\ to
C:\Home\a\b\ab\www\images
To get around the cyclic copy problem I am trying to copy the folders to a
temporary location then back to the intended destination. Here is what i
have done so far:
xcopy C:\Home\a\b\ab\{*} C:\Home\a\b\tmp\ /E
xcopy C:\Home\a\b\tmp\{*} C:\Home\a\b\ab\www\images\ /E /Y
The 2 problems I have do far is that the 1st statement copies every folder
not just folders with curly braces at the start and end of the folder name.
The 2nd problem is that it only copies the directories not the files.
Any help would be greatly appreciated.
I am trying to copy all folders, subfolders and files with folder names that
curly braces at the start and end of the folder name from C:\Home\a\b\ab\ to
C:\Home\a\b\ab\www\images
To get around the cyclic copy problem I am trying to copy the folders to a
temporary location then back to the intended destination. Here is what i
have done so far:
xcopy C:\Home\a\b\ab\{*} C:\Home\a\b\tmp\ /E
xcopy C:\Home\a\b\tmp\{*} C:\Home\a\b\ab\www\images\ /E /Y
The 2 problems I have do far is that the 1st statement copies every folder
not just folders with curly braces at the start and end of the folder name.
The 2nd problem is that it only copies the directories not the files.
Any help would be greatly appreciated.