I would like to see the capability to create a folder report, complete with subfolders, but NOT have to include filenames.
The use case is rebuilding a PC (after a drive crash) and I want to use the folder structure as a "checklist" to make sure I get things back to where I want it. (I'm not actually restoring everything from backups. I'm using the opportunity to clean things up.) Subfolders are very important. However, every report I try has the filenames as well as the subfolders.
If this is currently possible, then I apologize for the post in this section and I'd appreciate some help or tips.
If it's not currently possible, then please consider this as a request/wish!
Thanks...
Folder reports with subfolders WITHOUT files...
-
GUIguy
- Posts: 128
- Joined: 03 Jan 2016 02:11
- Location: Oregon, USA Win 10-64;a 25H2; scale: 100%;XY: 28.10.01000
Folder reports with subfolders WITHOUT files...
GUIguy
Win 11-64; 25H2 (scale: 100%); XY: 28.10.01000
I measure a good day by how little I fell behind
Quick, hire a teenager while they still know everything!
Win 11-64; 25H2 (scale: 100%); XY: 28.10.01000
I measure a good day by how little I fell behind
Quick, hire a teenager while they still know everything!
-
jupe
- Posts: 3446
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
Re: Folder reports with subfolders WITHOUT files...
I know you are a GUIguy, but you should check out the scripting command folderreport() you can make a report fully customized to what you want, below is an example of the <xydata> path, but if you look up the command in the help file you could customize it to suit your need exactly
Alternatively if you setup the list to display only folders in a branch view, you can use the Report tab > Current List report, but it isn't as customizable.
text folderreport("tree:{name} ({size mb}, {count} items)", "r", <xydata>, "r");Alternatively if you setup the list to display only folders in a branch view, you can use the Report tab > Current List report, but it isn't as customizable.
-
GUIguy
- Posts: 128
- Joined: 03 Jan 2016 02:11
- Location: Oregon, USA Win 10-64;a 25H2; scale: 100%;XY: 28.10.01000
Re: Folder reports with subfolders WITHOUT files...
Thanks, jupe...
As the GUIguy, I was a designer, not a coder! Kinda like an architect vs. structural engineer. So, when it comes to scripting, I might be able to follow one, but certainly not write one...at least one that works!
However, I accepted your "Challenge" and plinked away with what you sent me.
I'm not concerned about any counts, and really only want perhaps 2 levels of folders. This is what I tried...
But I'm not getting what I want. And ideally, and the reason I made this post as a "wish" would be some kind of GUI where I could use checkboxes to determine which folders I want in the report, and other fillable fields/checkboxes for the different flags and parameters of the report.
Probably asking too much, but, alas, that's what I do...
As the GUIguy, I was a designer, not a coder! Kinda like an architect vs. structural engineer. So, when it comes to scripting, I might be able to follow one, but certainly not write one...at least one that works!
However, I accepted your "Challenge" and plinked away with what you sent me.
I'm not concerned about any counts, and really only want perhaps 2 levels of folders. This is what I tried...
Code: Select all
text folderreport("tree:{name} (", "r", "C:\Program Files", "r" , "depth=2");Probably asking too much, but, alas, that's what I do...
GUIguy
Win 11-64; 25H2 (scale: 100%); XY: 28.10.01000
I measure a good day by how little I fell behind
Quick, hire a teenager while they still know everything!
Win 11-64; 25H2 (scale: 100%); XY: 28.10.01000
I measure a good day by how little I fell behind
Quick, hire a teenager while they still know everything!
-
jupe
- Posts: 3446
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
Re: Folder reports with subfolders WITHOUT files...
Well you asked for suggestions so I gave you one 2, all the things you requested regarding a GUI, are already possible if you put in the effort to script them, anyway the dev will consider your wish.
@Don: the depth parameter seems to be nonfunctional for positive numbers.
folderreport("tree:{name}", "u", "C:\Program Files", "r" , 6:=2);@Don: the depth parameter seems to be nonfunctional for positive numbers.
-
admin
- Site Admin
- Posts: 66097
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
XYplorer Beta Club