Copy folder structure without files

Discussion and questions - donor version.
Post Reply
Message
Author
DaPaleRider
Posts: 13
Joined: 01.02.2017, 15:27

Copy folder structure without files

#1 Post by DaPaleRider » 01.02.2017, 15:35

Hello,

Is it possible to copy a file structure without the files that are included in the folders?

Regards,

Patrick

joq
Posts: 35
Joined: 07.10.2011, 19:35

Re: Copy folder structure without files

#2 Post by joq » 02.02.2017, 08:02

Hi Patrick,
I don't of any function in Freecommander itself for this, but it is easy enough to do without leaving the application

1. Go to the top of the tree structure that you want to copy.
2. Press CTRL + D to open a DOS box in that folder (alternatively select on the Tools menu select DOS Box...)
3. The command is

Code: Select all

xcopy /t /e . "C:\New Folder"
Where:

. = current directory (can be replaced by a folder path)
/t = Copies the subdirectory structure, but not the files
/e = Copies subdirectories, including any empty ones

That's it. Once you have done that perhaps you want to try:

Code: Select all

tree /a /f | clip
...to get a nice printout of the folder structure, without the files, copied to your clipboard. Paste that into Notepad.

HTH

Joakim

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 42 guests