Port (seamlessly) from 7.55a ???

English support forum

Moderators: white, Hacker, petermad, Stefan2

User avatar
Anncey
Junior Member
Junior Member
Posts: 18
Joined: 2021-03-22, 01:45 UTC

Port (seamlessly) from 7.55a ???

Post by *Anncey »

Greetings (again) Earthlings :wave:
I hope "all is well" or at least "well enough" :shock:

I previously (years ago) demo'd/configured 7.55a ...
Not too long ago I tried to demo the latest TotalCommander;
however, none of my previous customizations
seemed to "port" to the latest ToC version ...

I would like to buy a ToC license;
however, I also would like to port
all my previous customizations ...
Would help be available ???

Please reply/advise ...
Thank you & regards
Last edited by Anncey on 2021-03-23, 00:18 UTC, edited 2 times in total.
User avatar
petermad
Power Member
Power Member
Posts: 14796
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Port (seamlessly) from 7.55a ???

Post by *petermad »

Most of your settinge are stored in the wincmd.ini and wcx_ftp.ini files, but depending on choices during installation of TC these files can be read from different places. It is important that you put your old wincmd.ini and wcx_ftp.ini files in the right place. You can see where these files are loaded from in TC's menu:" Help" -> "About Windows Commander" or you can write CD %COMMANDER_INI% in TC's command line and press Enter - then you will be taken to the currently used wincmd.ini file.

You can see more about other files to transfer from your old installation here: https://www.ghisler.ch/wiki/index.php?title=Backup
Last edited by petermad on 2021-03-23, 00:41 UTC, edited 1 time in total.
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
User avatar
Anncey
Junior Member
Junior Member
Posts: 18
Joined: 2021-03-22, 01:45 UTC

Re: Port (seamlessly) from 7.55a ???

Post by *Anncey »

petermad wrote: 2021-03-22, 12:08 UTC "You can see more about other files to transfer from your old i9nstallation here:
https://www.ghisler.ch/wiki/index.php?title=Backup"
Thanx ... for that ...
I('ve) tried ... once before ... unsuccessfully ...
I'll try again/now ...
& post any issues/questions that arise
User avatar
Anncey
Junior Member
Junior Member
Posts: 18
Joined: 2021-03-22, 01:45 UTC

Re: Port (seamlessly) from 7.55a ???

Post by *Anncey »

Greetings (again) :wave:
I am (again) having those (same) problems ...

When I installed I specified for the WinCMD.ini to be in the ProgramDirectory ...
I copied (over) my existing WinCMD.ini AND
updated the paths therein ...
I put my existing WCMD_Eng.mnu in the Language subdir ...

1) The TCx64 install does not read/use the WCMD_Eng.mnu ...
(My custom menus do not show up ...)
2) The TCx64 install does not read/use my customized shortcuts
(which are in the WinCMD.ini file ...)
3) Even if I go into Options & specify SPACE
is to show the ContextMenu,
EVEN that NEVER takes (hold) ...
not immediately & not even after a save settings, close & reopen ...

PLEASE REPLY/ADVISE !!!
User avatar
petermad
Power Member
Power Member
Posts: 14796
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Port (seamlessly) from 7.55a ???

Post by *petermad »

Put this parameter in the [Configuration] section of your wincmd.ini file:
UseIniInProgramDir=7

Make sure that you have installed TC in a directory, where you have write privileges (that would NOT be the case for C:\Program Files\)
Always restart your TC when you have made manually changes to the .ini files (and other setting files)

Please check via TC's menu:" Help" -> "About Windows Commander" that TC is using the wincmd.ini that you expect.

If you don't have write priviliges to TC' program folder, then your .ini files should be put in the %APPDATA%\Ghisler folder

%APPDATA% = "C:\Users\USERNAME\AppData\Roaming"
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
User avatar
Anncey
Junior Member
Junior Member
Posts: 18
Joined: 2021-03-22, 01:45 UTC

Re: Port (seamlessly) from 7.55a ???

Post by *Anncey »

Greetings ... & thanx (again) :wave:
However, (almost) nothing made any difference :shock:
I checked/confirmed under the Help menu
that the correct location/s were being used ...

So, I moved/copied the "Install" from Program Files
to my PortPFs "install" directory,
updated the ini file AND
edited the Win10x64 Ghisler Registry entries ...

So, now the remaining problem is that
my customized WCMD_Eng in the Language SubDir
is NOT being read/used ...
The location is properly pathed in the ini file ..
Hope we can solve this !!!
Last edited by Anncey on 2021-03-23, 09:07 UTC, edited 1 time in total.
User avatar
petermad
Power Member
Power Member
Posts: 14796
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Port (seamlessly) from 7.55a ???

Post by *petermad »

So excactly where is your TC located right now - and is that a directory where you have write access, without elevated rights?
Where is your wincmd.ini now located?
do you have UseIniInProgramDir=7 in the [Configuration] section of your wincmd.ini - and only ONE instance of that line?
What is the value of the parameters: LanguageIni= and Mainmenu= in your wincmd.ini - and do you only have ONE instance of each?
Have you checked that your wcmd_eng.mnu is the modified one you think it is?
Do you also have a wcmd_eng.lng file?
You do not need full path to your wcmd_eng.mnu file in the configuration, as long as it is placed in the LANGUAGE subdir.
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
User avatar
Anncey
Junior Member
Junior Member
Posts: 18
Joined: 2021-03-22, 01:45 UTC

Re: Port (seamlessly) from 7.55a ???

Post by *Anncey »

petermad wrote: 2021-03-23, 09:04 UTC "So excactly where is your TC located right now - and is that a directory where you have write access, without elevated rights?"
The Install was in C:\Program Files\AUPFs\TotalCMDx64
& is now in C:\PortPFs\AUPFs\TotalCMDx64 ...
As far as I know, YES, the non-elevated write-access is no longer an issue ...
All of the other problems from being in C:\Program Files are gone ...
What else could/should I do to confirm this ???
I've looked at the Advanced Security Tab/s ...
petermad wrote: 2021-03-23, 09:04 UTC"Where is your wincmd.ini now located?"
WinCmd.ini is (also) in C:\PortPFs\AUPFs\TotalCMDx64 ...
petermad wrote: 2021-03-23, 09:04 UTC"do you have UseIniInProgramDir=7 in the [Configuration] section of your wincmd.ini - and only ONE instance of that line?"
YES=>
[Configuration]
InstallDir=C:\PortPFs\AUPFs\TotalCMDx64
UseIniInProgramDir=7
petermad wrote: 2021-03-23, 09:04 UTC"What is the value of the parameters: LanguageIni= and Mainmenu= in your wincmd.ini - and do you only have ONE instance of each?"
Only one MainMenu entry =>
Mainmenu=%COMMANDER_PATH%\Language\WCMD_Eng.mnu
There is NO LanguageIni entry
petermad wrote: 2021-03-23, 09:04 UTC"Have you checked that your wcmd_eng.mnu is the modified one you think it is?"
YES
petermad wrote: 2021-03-23, 09:04 UTC"Do you also have a wcmd_eng.lng file?
You do not need full path to your wcmd_eng.mnu file in the configuration, as long as it is placed in the LANGUAGE subdir.
"
The Install did NOT create a wcmd_eng.lng
Please reply/advise
User avatar
petermad
Power Member
Power Member
Posts: 14796
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Port (seamlessly) from 7.55a ???

Post by *petermad »

Hmm, not that is should matter, but try and replace:
Mainmenu=%COMMANDER_PATH%\Language\WCMD_Eng.mnu
with:
Mainmenu=wcmd_eng.mnu

and then restart TC.

Also just to try that TC actually uses C:\PortPFs\AUPFs\wincmd.ini - notice the date/time of the file - make a change of some setting in the configuration, restart TC and see if the date/time has changed.

Otherwise , the only explanation is that your wcmd_eng.mnu file is corrupt - could you perhaps zip it and upload it somewhere for us to check.
Last edited by petermad on 2021-03-23, 12:12 UTC, edited 1 time in total.
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
User avatar
Hacker
Moderator
Moderator
Posts: 13064
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Port (seamlessly) from 7.55a ???

Post by *Hacker »

By any chance, is there more than one [Configuration] section in the wincmd.ini?

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
Anncey
Junior Member
Junior Member
Posts: 18
Joined: 2021-03-22, 01:45 UTC

Re: Port (seamlessly) from 7.55a ???

Post by *Anncey »

Hacker wrote: 2021-03-23, 12:11 UTC "By any chance, is there more than one [Configuration] section in the wincmd.ini?
Roman
"
I just checked ~ negative ...
User avatar
Anncey
Junior Member
Junior Member
Posts: 18
Joined: 2021-03-22, 01:45 UTC

Re: Port (seamlessly) from 7.55a ???

Post by *Anncey »

petermad wrote: 2021-03-23, 12:01 UTC "Otherwise , the only explanation is that your wcmd_eng.mnu file is corrupt -
could you perhaps zip it and upload it somewhere for us to check.
"
Sure, however I'll just mention that
7.55a NEVER had any problems using my wcmd_eng.mnu ...

Code: Select all

POPUP "&Files"
  MENUITEM "&Change Attributes...\tShift+F12", cm_SetAttrib
  MENUITEM "&Pack...\tAlt+F5", cm_PackFiles
  MENUITEM "&Unpack Specific Files...\tAlt+F9", cm_UnpackFiles
  MENUITEM "Test Arch&ive(s)\tAlt+Shift+F9",518
  MENUITEM "Compare B&y Content...", 2022
  MENUITEM "&Associate With...", cm_associate
  MENUITEM "Interna&l Associations (ToC Only)...", 519
  MENUITEM "Properties&...\tF12", cm_versioninfo
  MENUITEM "Calculate &Occupied Space...\tACS+D", cm_GetFileSpace
  MENUITEM "Multi-&Rename Tool...\tAC+F2", 2400
  MENUITEM "Edit Comme&nt...\tCtrl+Z", 2700
  POPUP "Prin&t"
    MENUITEM "File &List...", 2027
    MENUITEM "File List With &Subdirs...", 2028
    MENUITEM "File Con&tents\tCtrl+P", cm_PrintFile
  END_POPUP
  MENUITEM SEPARATOR
  MENUITEM "&Split File...", 560
  MENUITEM "Co&mbine Files...", 561
  MENUITEM "&Encode File  (MIME,UUE,XXE)...", 562
  MENUITEM "&Decode File  (MIME,UUE,XXE,BinHex)...", 563
  MENUITEM "Create C&hecksum File(s) (CRC32, MD5, SHA1)...", 564
  MENUITEM "&Verify Checksums (from checksum files)", 565
  MENUITEM SEPARATOR
  MENUITEM "E&xit\tAlt+F4", 24340
END_POPUP

POPUP "&Mark"
  MENUITEM "Select &Group...\tNum +", cm_spreadselection
  MENUITEM "&Unselect Group...\tNum -", cm_shrinkselection
  MENUITEM "Select &All\tCtrl+A", cm_selectall
  MENUITEM "U&nselect All\tAlt+A", cm_Clearall
  MENUITEM "&Invert Selection\tAC+I", cm_ExchangeSelection
  MENUITEM "Select All With Same E&xtension\tAlt Num +",527
  MENUITEM SEPARATOR
  MENUITEM "&Save Selection", 530
  MENUITEM "&Restore Selection\tNum /", 529
  MENUITEM "Sa&ve Selection To File", 2031
  MENUITEM "&Load Selection From File", 2032
  MENUITEM SEPARATOR
  MENUITEM "Cop&y Selected Names To Clipboard\tAlt+N", 2017
  MENUITEM "Copy Names With &Path To Clipboard\tAlt+C", 2018
  MENUITEM "Copy To Clipboard With All &Details", 2036
  MENUITEM "Copy To Clip&board With Path+Details", 2037
  MENUITEM SEPARATOR
  MENUITEM "&Compare Directories\tF9", cm_CompareDirs
  MENUITEM "&Mark Newer, Hide Same Files\tC+F9", cm_DirMatch
END_POPUP

POPUP "&Execute..."
  MENUITEM "CD &Tree...\tAlt+F10", cm_CDtree
  MENUITEM "&Search...\tCtrl+F", cm_searchfor
  MENUITEM "&Volume Label...", cm_VolumeId
  MENUITEM "System &Information...", cm_sysinfo
  MENUITEM "S&ynchronize Dirs...\tCS+F9", 2020
  MENUITEM "Directory &Hotlist\tCtrl+B", 526
  MENUITEM "Go &Back\tAlt+<-", 570
  MENUITEM SEPARATOR
  MENUITEM "DOS\tF10", cm_ExecuteDOS
  MENUITEM SEPARATOR
  MENUITEM "Br&anch View (With Subdirs)", 2026
  MENUITEM "&Open Desktop Folder", 2121
  MENUITEM "Background Transfer &Manager...",559
  MENUITEM SEPARATOR
  MENUITEM "Source&<->Target\tCtrl+U", cm_exchange
  MENUITEM "Target&=Source\tCtrl+I", cm_matchsrc
END_POPUP

POPUP "&Net"
  MENUITEM "&Network Connections...", cm_NetConnect
  MENUITEM "&Disconnect Network Drives...", cm_NetDisconnect
  MENUITEM "Share &Current Directory...", cm_NetShareDir
  MENUITEM "&Unshare Directory...", cm_NetUnshareDir
  MENUITEM "Show &Admin Shares", 2204
  MENUITEM SEPARATOR
  MENUITEM "&FTP Connect...", 550
  MENUITEM "FT&P New Connection...", 551
  MENUITEM "FTP Disconn&ect", 552
  MENUITEM "FTP Sho&w Hidden Files", 553
  MENUITEM "FTP Download From &List...", 558
  MENUITEM "P&ORT Connect\tACS+P", 2300
END_POPUP

POPUP "&View"
  MENUITEM "&Brief", cm_srcshort
  MENUITEM "&Full", cm_srclong
  MENUITEM "Co&mments\tCtrl+Shift+F2", 300
  MENUITEM "&Do Custom Columns", 270
  MENUITEM "&Tree\tCtrl+F8", cm_srcTree
  POPUP "Separate Tree\tCtrl+T"
    MENUITEM "&0 (None)", 3200
    MENUITEM "&1 For Both Panels", 3201
    MENUITEM "&2 (1 Each Panel)", 3202
  END_POPUP
  MENUITEM "Thumbnai&l view\tAS+T", 269
  MENUITEM "&Quick View Panel\tCtrl+Q",304
  MENUITEM "&Vertical Arrangement\tAC+V", 305
  MENUITEM "Ne&w Folder Tab\tCtrl+INS", 3001
  MENUITEM SEPARATOR
  MENUITEM "&All Files\tAS+A", cm_srcAllFiles
  MENUITEM "&Programs\tAS+X", cm_srcExecs
  MENUITEM "*.*", cm_srcuserspec
  MENUITEM "&Custom...\tAS+U", cm_srcUserDef
  MENUITEM "&Only Selected Files\tAS+O", 2023
  MENUITEM SEPARATOR
  MENUITEM "&Name\tAC+A", cm_srcbyname
  MENUITEM "E&xtension\tAC+E", cm_srcbyext
  MENUITEM "T&ime\tAC+D", cm_srcbydatetime
  MENUITEM "&Size\tAC+S", cm_srcbysize
  MENUITEM "&Unsorted\tAC+U", cm_srcunsorted
  MENUITEM SEPARATOR
  MENUITEM "&Reversed Order\tAC+R", cm_srcnegorder
  MENUITEM SEPARATOR
  MENUITEM "R&eread Source\tCtrl+R", cm_rereadsource
END_POPUP

POPUP "&Options"
  MENUITEM "&Settings...\tACS+S", cm_config
  MENUITEM "&Button Bar...", cm_ButtonConfig
  MENUITEM "&Change Settings Files Directly...", 581
  MENUITEM "Save &Position", cm_configSavepos
  MENUITEM "Sa&ve to ini\tCtrl+S", 580
END_POPUP

STARTMENU

HELP_BREAK

POPUP "&Help"
  MENUITEM "&Index", cm_HelpIndex
  MENUITEM "&Keyboard", cm_keyboard
  MENUITEM "&Registration Info", cm_register
  MENUITEM "&www.ToC", 640
  MENUITEM SEPARATOR
  MENUITEM "&About Total Commander...", cm_About
END_POPUP
EDIT: TCx64 9.51 is updating the WinCMD.ini file ...
Last edited by Anncey on 2021-03-23, 18:51 UTC, edited 1 time in total.
User avatar
petermad
Power Member
Power Member
Posts: 14796
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Port (seamlessly) from 7.55a ???

Post by *petermad »

2Anncey
The file you show here above is an excact copy on wcmd_eng.mnu that comes with TC 9.20, 9.21 9.22 and 9.22a - it has 5 more items than the wcmd_eng.mnu that comes with TC 7.55a. It has 1 item less than the current wcmd_eng.mnu for TC 9.50, 9.51 and 10.00 beta 2

So unless you have customized the TC 7.55a wcmd_eng.mnu file to match the TC 9.20 wcmd_eng.mnu file - I don't think this is your customized file
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
User avatar
Anncey
Junior Member
Junior Member
Posts: 18
Joined: 2021-03-22, 01:45 UTC

Re: Port (seamlessly) from 7.55a ???

Post by *Anncey »

petermad wrote: 2021-03-23, 18:47 UTC 2Anncey
The file you show here above is an excact copy on wcmd_eng.mnu
that comes with TC 9.20, 9.21 9.22 and 9.22a - it has 5 more items than the wcmd_eng.mnu that comes with TC 7.55a.
It has 1 item less than the current wcmd_eng.mnu for TC 9.50, 9.51 and 10.00 beta 2
So unless you have customized the TC 7.55a wcmd_eng.mnu file to match the TC 9.20 wcmd_eng.mnu file -
I don't think this is your customized file
Ooops, sorry about that ...
I've updated the CODE section in that post;
however, my customized wcmd_eng.mnu IS IN the Language SubDir
and TC 9x64 is NOT using my customized .mnu file ...
User avatar
petermad
Power Member
Power Member
Posts: 14796
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Port (seamlessly) from 7.55a ???

Post by *petermad »

After using the new code above, I can inform that the code works OK, and shows all the extra keyboard shortcuts etc, that you have added.

Could you try with some otther .mnu file from the installer like wcmd_deu.mnu - to see if that works.

What is the size in bytes of your wcmd_wng.mnu file? It should be 5072 bytes or maybe 5074 bytes if you have a blank line in the end - if not the file may be in the wrong format.
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
Post Reply