Lister: NTFS SymLink of picture shown in bin mode
Moderators: Hacker, petermad, Stefan2, white
Lister: NTFS SymLink of picture shown in bin mode
To reproduce:
1. For a picture file that Lister can internally view as an image (check it using Lister's Image/Multimedia mode), make a Symbolic link.
2. Try to open a symbolic link of picture file in lister: it's opened in binary mode. On top of that, it's impossible to force Lister's Image/Multimedia mode in this case.
1. For a picture file that Lister can internally view as an image (check it using Lister's Image/Multimedia mode), make a Symbolic link.
2. Try to open a symbolic link of picture file in lister: it's opened in binary mode. On top of that, it's impossible to force Lister's Image/Multimedia mode in this case.
Last edited by DrShark on 2015-11-04, 18:00 UTC, edited 1 time in total.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Confirmed with internal Lister viewer.
If I have Imagine plugin installed, it displays the symlink OK.
If I have Imagine plugin installed, it displays the symlink OK.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50549
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
The problem with file symlinks is that they show up as 0 byte files in the file list.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50549
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Why? And I also tried it with IrfanView set in Lister's Options->Configure..., but this doesn't help either. IrfanView app itself shows the picture after opening symlink just fine.ghisler(Author) wrote:Sorry, there is no solution.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
- ghisler(Author)
- Site Admin
- Posts: 50549
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Windows returns a size of zero for symbolic links to files.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Yes, but Lister doesn't show empty window, it shows the binary data of actual file! And why zero size is not a problem for IrfanView? I'm sorry, I'm not a programmer, but can't Lister then check whether 0-size file is a symlink and if yes, show a picture of actual file?ghisler(Author) wrote:Windows returns a size of zero for symbolic links to files.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708