Page 2 of 2

Re: Folder icons are not displayed in netshared directories.

Posted: 2022-10-04, 15:12 UTC
by Usher
ghisler(Author) wrote: 2022-10-04, 08:34 UTC Sorry, it makes browsing shared CDs completely unusable, so I had to disable it.
Have you seen any folder on CD/DVD with desktop.ini (excluding simplest back-ups)? I remember only some malware abusing desktop.ini in PC or Autorun.inf on CD/DVD/pendrive.
ghisler(Author) wrote: 2022-10-04, 08:34 UTC Also the paths in the desktop.ini file refer to an icon somewhere on that remote PC, so it may not even be possible to display it.
1. Users playing with desktop.ini are mostly aware of possible problems. For example, I use either some system icon or icon copied to the folder like favicon.ico for website. For many folders desktop.ini looks like that:

Code: Select all

[.ShellClassInfo]
IconFile=favicon.ico
IconIndex=0
IconResource=favicon.ico
IconFile is for older systems (up to Windows XP), IconResource works in newer systems (starting from Windows Vista). Desktop.ini settings are described here: https://hwiegman.home.xs4all.nl/desktopini.html
3. Blank icon is also informative, f.e. when Microsoft changed system resources in newer Windows versions.

Re: Folder icons are not displayed in netshared directories.

Posted: 2022-10-04, 15:22 UTC
by ghisler(Author)
I will add it as IconsOnNetReadOnly=1 (default 0).
Have you seen any folder on CD/DVD with desktop.ini (excluding simplest back-ups)?
No, but all folders have the read only attribute, so Windows has to look in all of them to check whether there is a desktop.ini or not. Folders are just special files, so the drive has to seek to each of them and read it just to check for that file.

Re: Folder icons are not displayed in netshared directories.

Posted: 2022-10-04, 18:11 UTC
by petermad
history.txt wrote:04.10.22 Added: New option wincmd.ini [Configuration] IconsOnNetReadOnly=0 Set to 1 to show folder icons on network shares even for folders with read only attribute. Warning: very slow for shared CD/DVD drives! (32/64)
I can not see that IconsOnNetReadOnly=1 works in neither 32bit nor 64bit TC 10.52rc1

Re: Folder icons are not displayed in netshared directories.

Posted: 2022-10-04, 19:11 UTC
by Usher
Confirmed not working for TC-32 bit.

Re: Folder icons are not displayed in netshared directories.

Posted: 2022-10-04, 20:30 UTC
by petermad
Usher wrote: 2022-10-04, 19:11 UTC Confirmed not working for TC-32 bit.
Does that mean that it does work in 64bit TC for you - or that you have only tested in 32bit TC?

Re: Folder icons are not displayed in netshared directories.

Posted: 2022-10-04, 22:44 UTC
by Usher
TC x64 not tested yet.

Re: Folder icons are not displayed in netshared directories.

Posted: 2022-10-04, 22:50 UTC
by ghisler(Author)
Strange, it works for me in both 32-bit and 64-bit versions. Maybe it depends on the Windows version? Or on other options? See also my reply in the bugs forum:
https://www.ghisler.ch/board/viewtopic.php?t=77692