Re: Wildcard on Folder Name

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance




"Shaun" <shaunthornburgh@xxxxxxxxxxx> wrote in message
news:%23KGSw59WGHA.404@xxxxxxxxxxxxxxxxxxxxxxx
Hi,

I am trying to use XCOPY to copy folder names that begin and end in a
curly
brace and have 36 characters between them. The problem I have found is
that
wildcards can only be used for files not folders, can anyone suggest an
alternative?

Thanks for your advice.



Wildcards can be used for folders too:

for /d %a in ({*.*) do xcopy "%a" "d:\%a\"


.