Print Folder List
Print Folder List
Is there a way I can print out the folder structure of a full drive, including all sub directories, without it listing all the files?
I noticed I could have it create a file with all the folders in it, but it also included all the files.
I noticed I could have it create a file with all the folders in it, but it also included all the files.
Yes it can be done however it is a roundabout way.
1. Do a Find (Alt-F7) *.* starting at the root or where ever you want the list to start from.
2. Click Export list (RHS of Find window) and save to a txt file.
3. Use a text editor (I suggest PSPad) and cut the text in the name column and the txt from the RHS of the directories.
Like I said. A bit of a round about way but not too hard.
1. Do a Find (Alt-F7) *.* starting at the root or where ever you want the list to start from.
2. Click Export list (RHS of Find window) and save to a txt file.
3. Use a text editor (I suggest PSPad) and cut the text in the name column and the txt from the RHS of the directories.
Like I said. A bit of a round about way but not too hard.
Regards
Clanman
Using FreeCommander XE 2022 Build 860 32-bit public on Windows 11
Clanman
Using FreeCommander XE 2022 Build 860 32-bit public on Windows 11
Re: Print Folder List
Hello!
It seems it's not possible to print tree of folders, sub-folders and files ; doesn't it ?
Thanks for answering.
Best regards.
It seems it's not possible to print tree of folders, sub-folders and files ; doesn't it ?
Thanks for answering.
Best regards.
Windows XP Home SP3 (french edition)
Re: Print Folder List
You can also try the following from a batch file:
c:
cd \
dir /ad /s /b > %userprofile%\desktop\folder_tree.txt
Enter the above using a text editor (i.e. notepad).
Save it giving it a .bat, or .cmd extension (e.g. folder_tree.bat).
This should list the folder structure (including sub-folders) of the C: drive, redirecting the output to a file named folder_tree.txt on your desktop. You can, of course rename the output path to whatever you like. You can also change C: to whatever drive you like.
c:
cd \
dir /ad /s /b > %userprofile%\desktop\folder_tree.txt
Enter the above using a text editor (i.e. notepad).
Save it giving it a .bat, or .cmd extension (e.g. folder_tree.bat).
This should list the folder structure (including sub-folders) of the C: drive, redirecting the output to a file named folder_tree.txt on your desktop. You can, of course rename the output path to whatever you like. You can also change C: to whatever drive you like.
Re: Print Folder List
Thanks, but path is not found !H.Seldon wrote:c:
cd \
dir /ad /s /b > %userprofile%\desktop\folder_tree.txt
Windows XP Home SP3 (french edition)
Re: Print Folder List
Sorry, I didn't notice your operating system. This wasn't necessary with my Vista x64, but you will need to put the output path in double quotes:
c:
cd \
dir /ad /s /b > "%userprofile%\desktop\folder_tree.txt"
Your user profile is under 'Documents and Settings' folder in XP. IN Vista/Win7 it is 'Users' folder. It is the spaces in the path that cause the problem. Double quotes around the path takes care of it. It is good practice to use the double quotes in any case, my mistake. You can also change the path to somewhere else if use like. I only used your desktop for convenience.
c:
cd \
dir /ad /s /b > "%userprofile%\desktop\folder_tree.txt"
Your user profile is under 'Documents and Settings' folder in XP. IN Vista/Win7 it is 'Users' folder. It is the spaces in the path that cause the problem. Double quotes around the path takes care of it. It is good practice to use the double quotes in any case, my mistake. You can also change the path to somewhere else if use like. I only used your desktop for convenience.
Re: Print Folder List
Thank you for your explanations. I thought the quotes, and I tried. But the problem was the same: the path was not found.H.Seldon wrote:dir /ad /s /b > "%userprofile%\desktop\folder_tree.txt"
But I found why: XP is in French, so that "desktop" is called 'bureau'! It's so stupid!
However, I see no tree of files and folders: there are only folders (probably a problem of parameters).
And the presentation is not correct: there is no tree, precisely, and accented characters are replaced by false.
Finally, a makeshift solution, at best: it would be so much better that FreeCommander offers a solution to print a tree ...
Windows XP Home SP3 (french edition)
Re: Print Folder List
Sorry, Piteur. I was answering the original poster 'hiphutch', who wanted a listing of the folder structure only (no files). If you want files too, just remove '/ad' from the command. Then it will list everything on your hard drive (and probably take a very long time).
Re: Print Folder List
Many thanks.H.Seldon wrote:Sorry, Piteur. I was answering the original poster 'hiphutch', who wanted a listing of the folder structure only (no files). If you want files too, just remove '/ad' from the command. Then it will list everything on your hard drive (and probably take a very long time).
I'm really happy for your patience.
Anyway, it is possible to start from any part of the structure, to avoid too long trees ...
Again thank you, H.Seldon.
Regards.
Windows XP Home SP3 (french edition)
Re: Print Folder List
You're welcome, Piteur. For anyone who is interested, there is also a fantastic application called 'Everything' at voidtools.com. If you have an NTFS file system, it will index your entire computer in a few seconds, giving you a flat list of everything on your computer. There are many search/filtering options as well (see help file). The list can also be exported to a file. This program is lightning fast for locating anything on your computer.
Re: Print Folder List
Great! I am excited to try this software.H.Seldon wrote:'Everything' at voidtools.com.
Is it able to search words or sentences within file? It would be the ultimate!
Windows XP Home SP3 (french edition)
Re: Print Folder List
Only file/folder names.Piteur wrote:Great! I am excited to try this software.H.Seldon wrote:'Everything' at voidtools.com.
Is it able to search words or sentences within file? It would be the ultimate!
Re: Print Folder List
That's unfortunate!joby_toss wrote:Only file/folder names.
Windows XP Home SP3 (french edition)
Re: Print Folder List
I found a command line to get a tree, written in a file :
For instance, for J:So I guess it should not be very difficult to insert such a function in FreeCommander ... Is it a dream?
For instance, for J:
Code: Select all
cmd /c tree J: /f /a > "%userprofile%/desktop/tree_J.txt"
Windows XP Home SP3 (french edition)
-
- Posts: 1
- Joined: 19.07.2010, 15:30
Re: Print Folder List
I follow a tool for printing directory contents called [url=htpp://www.print-directory.com]Folder printer[/url]
Find Here : htpp://www.print-directory.com
Find Here : htpp://www.print-directory.com
Who is online
Users browsing this forum: No registered users and 44 guests