Folder icons are not displayed in netshared directories.

Please report only one bug per message!

Moderators: white, Hacker, petermad, Stefan2

User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: Folder icons are not displayed in netshared directories.

Post 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.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48005
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Folder icons are not displayed in netshared directories.

Post 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.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14700
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Folder icons are not displayed in netshared directories.

Post 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
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: Folder icons are not displayed in netshared directories.

Post by *Usher »

Confirmed not working for TC-32 bit.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
petermad
Power Member
Power Member
Posts: 14700
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Folder icons are not displayed in netshared directories.

Post 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?
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: Folder icons are not displayed in netshared directories.

Post by *Usher »

TC x64 not tested yet.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48005
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Folder icons are not displayed in netshared directories.

Post 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
Author of Total Commander
https://www.ghisler.com
Post Reply