I have a folder with a lot of subfolders and files in them. Is there a way to copy the folder and subfolders directory structure without copying the files they contain, using cmd or powershell?
|
Yup. XCOPY
example
more about xcopy can be found here http://ss64.com/nt/xcopy.html |
|||
|
|
|
There's probably a better solution, but I'd see these:
open_directory($path); |
|||||
|
|
as far as I know there are third party software which may provide this functionality if you want to do with command prompt then copy command is out there. type
help copy in cmd which provides details on how you copy files through cmd. del*.*which deletes files because folders not having . character |
|||
|