Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Right click option to set all sub folders to match this folders view #151

Closed
shoulders opened this issue Feb 18, 2025 · 4 comments
Closed

Comments

@shoulders
Copy link

Hi

I know this is not the perfect place to post this request but for me and other people on the internet this would be an excellent utility/feature.

I would like to be able to configure my software folder view how I want it, e.g. adding Product version and then have the ability to right click on that folder and push software folder's view down to all of the sub folders so I can have product version on every folder.

Maybe there can be some other options such as: only push columns, column order etc..

Thanks

shoulders

@LesFerch
Copy link
Owner

LesFerch commented Feb 18, 2025

Explorer doesn't support setting views on a folder tree basis. Views are set for folder types.

I'm looking at the possibility of defining custom folder types that can be applied to a folder tree. That would be separate utility (if I can make it work). For now, I have FolderViewPainter which will let you export and import views. It can only set the view for the current folder (not subfolders), but at least it's only one step per folder.

@LesFerch LesFerch closed this as not planned Won't fix, can't repro, duplicate, stale Feb 18, 2025
@shoulders
Copy link
Author

@LesFerch thanks for the feedback.

@shoulders
Copy link
Author

shoulders commented Feb 19, 2025

@LesFerch
Copy link
Owner

LesFerch commented Feb 19, 2025

Of course I do. I've studied all information posted in regards to Explorer folder views, including everything written by Keith Miller. Setting folder views for a tree requires being able to create Bags entries on the fly. There's no API for that and creating entries while Explorer is running would be tricky even if you could reverse engineer the pidl-based indexing system. The best chance is creating custom folder types and setting them via desktop.ini files so that Explorer will discover them and then set the correct views. It's never been done, and may not work as I theorize, but it's worth taking a look.

BTW, FolderViewPainter does not directly set views. It forces Explorer to create the view entry by closing and opening the window. It then decompiles the entire Bags key to plain text, searches for the current folder's index, replaces its view entries and then forces Explorer to refresh the view. It's really awkward. That's why it's limited to one folder at a time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants