A small bug creating shortcuts in TC
Moderators: white, Hacker, petermad, Stefan2
A small bug creating shortcuts in TC
select a file from the source panel (i.e. an exe), rightclick on it and drag it in the destination panel. when you release the right mouse button, you get a menu. Select "create shortcut". Now repeat the process again with the same file. TC finds the .lnk files in the destination dir and waits for a confirmation before writing over it.
The confirmation should be: rewrite file Path1\xxx.lnk (size 700 bytes) with file Path2\xxx.lnk (size 700 bytes).
Instead it is: rewrite file Path1\xxx.lnk (size 700 bytes) with file Path2\xxx.exe (size 123456789 bytes).
Instead of showing the new link's name with the new link's size, it has the file's actual name and size. I understand that the link has not been created yet so TC does not know that to show there but showing the exe's name is a little missleading, isn't it?
The confirmation should be: rewrite file Path1\xxx.lnk (size 700 bytes) with file Path2\xxx.lnk (size 700 bytes).
Instead it is: rewrite file Path1\xxx.lnk (size 700 bytes) with file Path2\xxx.exe (size 123456789 bytes).
Instead of showing the new link's name with the new link's size, it has the file's actual name and size. I understand that the link has not been created yet so TC does not know that to show there but showing the exe's name is a little missleading, isn't it?
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.
- majkinetor !
- Power Member
- Posts: 1580
- Joined: 2006-01-18, 07:56 UTC
- Contact:
2Sir_SiLvA
Maybe here: http://www.ghisler.ch/board/viewtopic.php?p=76410#76410was discused just recently (but i cant find the thread)
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Excatly! thx Peter!petermad wrote:Maybe here: http://www.ghisler.ch/board/viewtopic.php?p=76410#76410
Hoecker sie sind raus!
2Sir_SiLvA
You're welcome
You're welcome
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
I do, that's why i posted it. When overwriting an lnk file with size 700 bytes, with another lnk file (another 700 bytes), i expect to see just that on the dialog, not "overwriting file x.lnk (700 bytes) with file xyza.exe(45 MBs)". It's confusing.Sir_SiLvA wrote:1. i dont see this as bug
I did. The problem is that i do not have enough time to thourougly search the forum, topic by topic to see if it has been reported again so after a quick search (in which i didn't find anything), i posted it.Sir_SiLvA wrote:2. next time please search as this was discused just recently (but i cant find the thread)...
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.
2wanderer
My suggestion to the author: Create a shortcut in a temporary directory and read its size. This size is displayed instead of the link target size. When user decides to overwrite the existing shortcut file move the temporary shortcut file to the desination directory otherwise delete it.
This a well known limitation. AFAIK it's impossible to know how large the new shortcut file will be without creating it. Just writing the the size of the old shortcut file is as wrong as giving the size of the link target.The confirmation should be: rewrite file Path1\xxx.lnk (size 700 bytes) with file Path2\xxx.lnk (size 700 bytes).
My suggestion to the author: Create a shortcut in a temporary directory and read its size. This size is displayed instead of the link target size. When user decides to overwrite the existing shortcut file move the temporary shortcut file to the desination directory otherwise delete it.
As i had pointed out in my original post:Lefteous wrote:AFAIK it's impossible to know how large the new shortcut file will be without creating it.
I understand that but that does not making less confusing (at least the first time you see it). I believe your suggestion is the only way to go and i fully support it.wanderer wrote:I understand that the link has not been created yet so TC does not know that to show there but showing the exe's name is a little missleading, isn't it?
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.