This post will show you how to create the whole folder structure without files in Windows since just replicating the directory structure to another location, can be a very tedious & error-prone task if done manually.
Do note that, here, directory refers to your folders.
This is useful when you want to create lots of folders for different types of files in an easier and faster way.
Let us look at how to do this with Windows Xcopy tool, and an alternative software, Copywhiz.
Enhance your file-copy experience with Copywhiz as it let’s you to have more flexibility & more control over the file-copying process. Here is how Copywhiz makes file copying a breeze:
Create Directory structure only
Xcopy Source [Destination] /t command lets us to replicate the whole directory structure without copying the files inside them. To copy empty directories, you must include the /e command-line option.
For Ex: To copy the directory structure without files, the following command line will be used:
xcopy C:\Your Folder C:\New Folder /t /e
However, Xcopy commands are not really straightforward. System administrators may be able to use. But common users would generally find it confusing.
Let us look at a simpler and easier way to do this.
Watch a short video depicting this feature:
1. Select files using Windows Explorer, right-click on them and choose Copywhiz->Copy from the menu as shown below :
2. Go to the destination folder, right-click inside the folder and select Copywhiz–>Paste Advanced as shown below:
3. Copywhiz Window will open. Click on ‘Advanced Settings’ button and select ‘Create folder structure only, do not paste files’ as shown below and click on ‘Ok’.
Copywhiz is an alternative that allows you to create the complete directory (folder) structure without copying files in them.
This feature can be useful in multi-users scenario where the system administrator wishes to create the same standard template folder structure without files for different users from an existing structure.
Have a good day
Thanks for your time :)
If you found this post useful, do share it.