wincmd.key not recognized in 64-bit and error on startup

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

User avatar
HolgerK
Power Member
Power Member
Posts: 5406
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

2secureinoz
Another possibility:
Do you really use the totalcmd.exe from the place where you installed it ( and placed the key-file), or did you copy (by accident) Totalcmd.exe to the desktop, start menu, .. and start this copy instead?

Regards
Holger
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

That's why I asked him to execute
cd %commander_path%

This will bring him automatically to the right location.
Author of Total Commander
https://www.ghisler.com
User avatar
HolgerK
Power Member
Power Member
Posts: 5406
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

Yep, but so far he did not answer to your suggestion.
But with wincmnd.key in the directory where I got the installer to install Total commander
Regards
Holger
secureinoz
Junior Member
Junior Member
Posts: 5
Joined: 2011-11-07, 00:27 UTC
Location: Australia

Post by *secureinoz »

ghisler(Author) wrote:That's why I asked him to execute
cd %commander_path%

This will bring him automatically to the right location.
Thanks HolgerK and ghisler.

Sorry I did not make this clear. cd %commander_path% takes me to c:\Program Files\totalcmd\ which is where in initially had the wincmd.key file.
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Post by *Flint »

secureinoz
What about this?
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
secureinoz
Junior Member
Junior Member
Posts: 5
Joined: 2011-11-07, 00:27 UTC
Location: Australia

Post by *secureinoz »

Flint wrote:secureinoz
my wincmd.key became corrupted for unknown reason (different binary contents), so I just replaced it from my backup copy and everything started working smoothly.
Thanks Flint. It worked...I just copied a backup copy of the key from my old PC over the key on my new PC and the problem disappeared.

Thanks.
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Post by *Flint »

So, it wasn't my local exclusive problem…

Christian, could you please look your code for snippets that could write into wincmd.key? (There should be at least one, when pasting the key from buffer.) It seems that TC sometimes can call them at wrong times and overwrite wincmd.key with garbage.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

The only time TC writes to a key is when you press Ctrl+V and the clipboard contains the key in a special text form. However, the key is written only when the key is exactly 1024 bytes, and the 4 byte checksum is correct. Therefore this cannot cause a bad key.
Author of Total Commander
https://www.ghisler.com
Post Reply