Replicate a Cabinet’s Structure

It’s sometimes necessary to replicate the drawers, and perhaps also the folders, of a cabinet without copying any of the files. For example, you may want to start with an empty cabinet at the beginning of each year, but still have your current drawer and folder structure.

There’s a DOS trick you can use to do this. Use the first line below if you only want to copy the drawers, or the second line if you want to copy folders too:

xcopy /T source target
xcopy /T /E source target

Here’s how it would work. Suppose I have a cabinet at c:\mycabinets\2008 and I want to create a 2009 cabinet with exactly the same structure, including all current drawers and subfolders, but without any of the files. I want the new cabinet to be at c:\cabinets\2009.

First I need to open a command prompt (DOS window), which can be done from the Windows "Start" button > "Run", and enter "cmd" (without quotes) as the program to run. Then I would type the following command:

xcopy /T /E "c:\cabinets\2008" "c:\cabinets\2009\"

Notice that the first path doesn’t end in a backslash "\" but the second path does. The quotation marks are also important, especially if there are spaces in any of the paths.

To only copy the drawers (not the subfolders), omit the "/E":

xcopy /T "c:\cabinets\2008 Files" "c:\cabinets\2009 Files\"
Attached Files
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Name
Email
Security Code Security Code
Related Articles RSS Feed
Filtering Files
Viewed 2479 times since Wed, Jul 9, 2014
Can’t Move, Rename, or Delete an Item
Viewed 2855 times since Mon, Oct 28, 2013
How to Mark a Drawer as Inactive
Viewed 2407 times since Mon, Oct 28, 2013
Link a File to Multiple Folders
Viewed 2827 times since Mon, Oct 28, 2013
No Files Appear in the Cabinet
Viewed 2548 times since Mon, Oct 28, 2013
Missing Drawers, Folders, or Files
Viewed 2451 times since Mon, Oct 28, 2013
Exporting Data from eDrawer
Viewed 2909 times since Mon, Oct 28, 2013
Remote Access Options
Viewed 2807 times since Mon, Oct 28, 2013
Enterprise Organizer Pro’s Save/Open Dialogs Aren’t Working
Viewed 2830 times since Mon, Oct 28, 2013
Recover Deleted Files
Viewed 2663 times since Mon, Oct 28, 2013
MENU