settings gone after upgrade to version 9.51 rc5 (from rc4)

Please report only one bug per message!

Moderators: white, Hacker, petermad, Stefan2

Post Reply
wtktje
Junior Member
Junior Member
Posts: 12
Joined: 2013-05-16, 14:19 UTC

settings gone after upgrade to version 9.51 rc5 (from rc4)

Post by *wtktje »

Good morning,

This morning when I started up my computer and TC I got a message that there was an update to RC5 for version 9.51. I immediately updated (from version 9.51 RC4) and when I restarted after that I found out that all my settings were gone. I was back to square one. I always keep copies of wincmd.ini, default.bar and default br2 files, so I thought to be able to fix the problem by overwriting these files in their respective directories (wincmd.ini in c:\windows, and default.bar and default.br2 in c:\Program Files\Total Commander\). Normally this works, but I now found out that nothing changed. What went wrong?

Thanks for any help.
regards,

WTKTJE
Dongen., Netherlands
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Re: settings gone after upgrade to version 9.51 rc5 (from rc4)

Post by *DrShark »

What paths to your ini settings files Total Commander does show in "Help"->"About Total Commander..." ?
Will TC use your ini files at previous locations if to downgrade TC back to 9.51 RC4 (install as update over RC5 from
tc951x32_64_rc4.exe (32-bit + 64-bit versions), tc951x32_rc4.exe (32-it version) or tc951x64_rc4.exe (64-it version))
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
wtktje
Junior Member
Junior Member
Posts: 12
Joined: 2013-05-16, 14:19 UTC

Re: settings gone after upgrade to version 9.51 rc5 (from rc4)

Post by *wtktje »

Drshark,

Thanks for your quick reply.

In RC4 the wincmd.ini file is located in C:\windows, as I expected.
In RC5 this file is renamed to WINCMD.INIwincmd.iniwincmd.ini.

(screenshot of part of my About-box RC5)
Image: https://www.dropbox.com/s/i12u2gxk8kebmg1/Knipsel2.JPG?dl=0

screenshot of my C:\windows directory, with both my old (RC4) wincmd.ini and the new (RC5)-one:
Image: https://www.dropbox.com/s/6dionhuqfzmhl3c/Knipsel1.JPG?dl=0

I solved the problem by renaming the old RC4-wincmd.ini to WINCMD.INIwincmd.iniwincmd.ini.

After restart RC5 reads my old RC4-settings in the renamed ini-file.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48077
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: settings gone after upgrade to version 9.51 rc5 (from rc4)

Post by *ghisler(Author) »

That's very strange. Could you please give me some additional information?
1. Your Windows version
2. Start regedit.exe and go to
HKEY_CURRENT_USER\Software\Ghisler\Total Commander
then tell me the contents of these values:
iniFileName and ftpIniName
Author of Total Commander
https://www.ghisler.com
wtktje
Junior Member
Junior Member
Posts: 12
Joined: 2013-05-16, 14:19 UTC

Re: settings gone after upgrade to version 9.51 rc5 (from rc4)

Post by *wtktje »

Ghisler,

Thank you for your time in this matter.

My windows version:
windows 10 pro, ver. 1909, build 18363.719
Image: https://www.dropbox.com/s/43rv1i8l7ko4i0h/win10.JPG?dl=0

regedit:
iniFileName: wincmd.ini
ftpIniName: wcx_ftp.ini
Image: https://www.dropbox.com/s/0rmhxvu3voqg4yi/regedit.JPG?dl=0

my TC about screen:
Image: https://www.dropbox.com/s/ui8l2er0x42ln1a/TC_about.JPG?dl=0
TifKag
Junior Member
Junior Member
Posts: 8
Joined: 2016-08-24, 13:00 UTC

Re: settings gone after upgrade to version 9.51 rc5 (from rc4)

Post by *TifKag »

Same problem here, had to change filenames in Windows directory..
But it seems "wtktje" has the file name 3 times (WINCMD.INIwincmd.iniwincmd.ini), i got it only 2 times (WINCMD.INIwincmd.ini)

Windows 8.1 64bit

Windows directory
wcx_ftp.iniwcx_ftp.ini
WINCMD.INIwincmd.ini

regedit:
iniFileName: wincmd.ini
ftpIniName: wcx_ftp.ini

About screen
C:\Windows\WINCMD.INIwincmd.ini
C:\Windows\wcx_ftp.iniwcx_ftp.ini

EDIT: When i use the 32 bit version i also have the filename 3 times (WINCMD.INIwincmd.iniwincmd.ini wcx_ftp.iniwcx_ftp.iniwcx_ftp.ini)
wtktje
Junior Member
Junior Member
Posts: 12
Joined: 2013-05-16, 14:19 UTC

Re: settings gone after upgrade to version 9.51 rc5 (from rc4)

Post by *wtktje »

EDIT: When i use the 32 bit version i also have the filename 3 times (WINCMD.INIwincmd.iniwincmd.ini wcx_ftp.iniwcx_ftp.iniwcx_ftp.ini)
[/quote]

I use only the 64-bit version
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48077
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: settings gone after upgrade to version 9.51 rc5 (from rc4)

Post by *ghisler(Author) »

Sorry for the troubles. The problem is that the ini file locations are stored without path in regedit:
iniFileName: wincmd.ini
ftpIniName: wcx_ftp.ini
As a quick fix, just change this to the real location, e.g.
iniFileName: c:\windows\wincmd.ini
ftpIniName: c:\windows\wcx_ftp.ini

TC was trying to convert inaccessible locations to 8.3 names, and this failed when no path was specified.
Author of Total Commander
https://www.ghisler.com
wtktje
Junior Member
Junior Member
Posts: 12
Joined: 2013-05-16, 14:19 UTC

Re: settings gone after upgrade to version 9.51 rc5 (from rc4)

Post by *wtktje »

Christian,

That did almost do the trick. It worked only for the wcx_ftp.ini-file. After editing the regedit and restarting the PC, TC created again a WINCMD.INIwincmd.iniwincmd.ini file in c:\windows. But the info in my aboutscreen shows the correct filenames: wincmd.ini and wcx_ftp.ini, both in c:\windows

Therefore I renamed WINCMD.INIwincmd.iniwincmd.ini in wincmd.ini and now it works again. Probably everything shall work after a clean install of TC instead of an upgrade.

Thanks for your help, and keep up the good work ;-)
TifKag
Junior Member
Junior Member
Posts: 8
Joined: 2016-08-24, 13:00 UTC

Re: settings gone after upgrade to version 9.51 rc5 (from rc4)

Post by *TifKag »

For me it did the trick in one go.....Thanks
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48077
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: settings gone after upgrade to version 9.51 rc5 (from rc4)

Post by *ghisler(Author) »

Restarting your PC is not necessary, just restarting Total Commander after the registry change is sufficient.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48077
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: settings gone after upgrade to version 9.51 rc5 (from rc4)

Post by *ghisler(Author) »

This should be fixed in RC6, please test it!
Author of Total Commander
https://www.ghisler.com
Post Reply