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
Can’t Move, Rename, or Delete an Item
Viewed 3002 times since Mon, Oct 28, 2013
Remote Access Options
Viewed 2977 times since Mon, Oct 28, 2013
Drop Renaming How-To
Viewed 2588 times since Mon, Oct 28, 2013
Recover Deleted Files
Viewed 2815 times since Mon, Oct 28, 2013
Enterprise Organizer Pro’s Save/Open Dialogs Aren’t Working
Viewed 3022 times since Mon, Oct 28, 2013
Filtering Files
Viewed 2635 times since Wed, Jul 9, 2014
No Files Appear in the Cabinet
Viewed 2722 times since Mon, Oct 28, 2013
Show Hidden Files
Viewed 2893 times since Mon, Oct 28, 2013
Using Acrobat for PDF Preview; Common Problems
Viewed 2810 times since Mon, Oct 28, 2013
Alternate PDF Thumbnailing
Viewed 2758 times since Mon, Oct 28, 2013
MENU