How to copy file structure without files of C:\Windows directory into another folder

Viewed 19

I need to copy all directory structure from C:\Windows to Fld2, but only with for loop!(without files)

Here what I've tried so far:

For /D %i in (F:\Fld2) do xcopy C:\Windows /t /e

The main disadvantage of this solution that it is not capable to copy all structure, copying only non-admin folders, but in my case I need all structure of Windows directory, I would really appreciate any useful information:)

0 Answers
Related