Page 1 of 1

Settings per folder

Posted: Mon Jul 24, 2017 2:45 am
by csanchnc
Explorer++ uses same settings for every folder, I would like some option to save settings per folder, like on Windows Explorer.

Re: Settings per folder

Posted: Fri Jul 28, 2017 11:59 pm
by Janus
Really, the only consistent way to do that would be to add support for reading and using the hidden file desktop.ini which is how windows does it.

Which would then require an option to turn off usage if some users did want to use it.

The latter is simple, just another check box.
The former, that could be more complicated.
Especially considering saving changes in the desktop.ini file on the fly.
Not sure saving options in them over a network would work, or should.

Janus.

Re: Settings per folder

Posted: Wed Aug 02, 2017 6:55 am
by Edgar5
I had troubles using desktop.ini and am exploring a different avenue. The problem I had with desktop.ini was that Windows doesn't seem to always want to honor valid information in them. The different approach I'm using is keeping an Explore++ internal list of every folder opened, storing the data when the folder is exited. It's still very early in the design process although I do have it reading and writing the list and storing/retrieving the proper information. The big question will be how slow it gets if the list gets very big. I already do cleanup on the list making sure that no items are duplicated and that all items still point to valid folders.

Re: Settings per folder

Posted: Thu Aug 03, 2017 12:19 pm
by Janus
Which type of trouble did you have with it?
I am asking because windows has a habit of providing duplicate entries with the same name for composite folders such as desktop & start menu.

The only solution I found for someone else who had issues with desktop.ini in system/user folders, was to use the profile to open the file directly, and ignore the system version of the file, which windows sometimes opens if you just use the folder name.

C:\users\{Profile}\Desktop directly, perhaps using APPDATA. HOMEPATH, LOCALAPPDATA, USERPROFILE or USERNAME environmental variables.
This leaves out PUBLIC, DEFAULT and system profiles used for local services or networking.

The hard part though, is do you save customizations?
If yes, can you?
As long as you use the profile to open in the profile system/user folders, you should be able to.

Not that I am a real C/C++ programmer.


Janus.