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
Remote Access Options
Viewed 2212 times since Mon, Oct 28, 2013
Enable Password Protection, Encryption, and Shredding
Viewed 1840 times since Mon, Oct 28, 2013
Back Up Your Enterprise Organizer Pro Data
Viewed 2469 times since Mon, Oct 28, 2013
Alternate PDF Thumbnailing
Viewed 1825 times since Mon, Oct 28, 2013
Show Hidden Files
Viewed 2204 times since Mon, Oct 28, 2013
No Files Appear in the Cabinet
Viewed 2089 times since Mon, Oct 28, 2013
Drop Renaming How-To
Viewed 1750 times since Mon, Oct 28, 2013
Filtering Files
Viewed 1882 times since Wed, Jul 9, 2014
Missing Drawers, Folders, or Files
Viewed 1860 times since Mon, Oct 28, 2013
Auto-Expand Folders
Viewed 1880 times since Mon, Oct 28, 2013
MENU