How do I configure a default window size?
Moderators: Hacker, petermad, Stefan2, white
How do I configure a default window size?
I'm running Total Commander on machines with different screen resolution.
Is there a way to change the default 1024x800 window size of Total Commander without the need to change to desired window size and "Save Position" in each new screen resolution?
Is there a way to change the default 1024x800 window size of Total Commander without the need to change to desired window size and "Save Position" in each new screen resolution?
- sqa_wizard
- Power Member
- Posts: 3893
- Joined: 2003-02-06, 11:41 UTC
- Location: Germany
Sure: Just add the following line to [Configuration] section of wincmd.ini
Restart TC
=> Settings will be saved at [AllResolutions] section now.
Code: Select all
ResolutionSpecific=0
=> Settings will be saved at [AllResolutions] section now.
#5767 Personal license
Works perfectly
Exactly what I was looking for.
Thank you very much, sqa_wizard.
Thank you very much, sqa_wizard.
-
- Junior Member
- Posts: 2
- Joined: 2022-08-31, 16:43 UTC
Re: How do I configure a default window size?
Hi sorry for refreshing this topic but i have the same problem but I DON'T UNDERSTAND your advice.
The problem is that with modern Windows the wincmd.ini located in windows folder is protected - so commander DOES NOT SAVE it's configuration to it. I have to edit the ini manually and then copy it to the windows folder. So...
Entering the:
code does not do anything.
How do I set up the actual window size for the Total Commander?
The problem is that with modern Windows the wincmd.ini located in windows folder is protected - so commander DOES NOT SAVE it's configuration to it. I have to edit the ini manually and then copy it to the windows folder. So...
Entering the:
Code: Select all
ResolutionSpecific=0
How do I set up the actual window size for the Total Commander?
Re: How do I configure a default window size?
2martinezzz123
TC is more or less useless if it cannot write it's .ini files
By default TC uses %APPDATA%\Ghisler for storing it's .ini files (C:\Users\USERNAME\AppDAta\Roaming\Ghisler).
If you have installed your TC in a folder where you have write permissions (that is: NOT in C:\Program Files or C:\Program Files (x86), but for example in C:\Totalcmd) then you can make TC use the .ini files from C:\Totalcmd by adding the parameter UseIniInProgramDir=7 in the [Configuration] section of your wincmd.ini.
It was back in the days of Windows 95 and earlier, that TC defaulted to using C:\Windows for its ini files.
You can see the location of the .ini files your TC uses via the menu: Help - About Total Commander.
If your TC is actually using C:\Windows for it's .ini files you can change that by editing Wondows' Registry - search for Ghisler, and change the path you see for IniFileName and FtpIniName to %APPDATA%\GHISLER\wincmd.ini and %APPDATA%\GHISLER\wcx_ftp.ini
Notice there are more than one Ghisler entry in the Windows Registry, so change all of them.
TC is more or less useless if it cannot write it's .ini files
By default TC uses %APPDATA%\Ghisler for storing it's .ini files (C:\Users\USERNAME\AppDAta\Roaming\Ghisler).
If you have installed your TC in a folder where you have write permissions (that is: NOT in C:\Program Files or C:\Program Files (x86), but for example in C:\Totalcmd) then you can make TC use the .ini files from C:\Totalcmd by adding the parameter UseIniInProgramDir=7 in the [Configuration] section of your wincmd.ini.
It was back in the days of Windows 95 and earlier, that TC defaulted to using C:\Windows for its ini files.
You can see the location of the .ini files your TC uses via the menu: Help - About Total Commander.
If your TC is actually using C:\Windows for it's .ini files you can change that by editing Wondows' Registry - search for Ghisler, and change the path you see for IniFileName and FtpIniName to %APPDATA%\GHISLER\wincmd.ini and %APPDATA%\GHISLER\wcx_ftp.ini
Notice there are more than one Ghisler entry in the Windows Registry, so change all of them.
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
-
- Junior Member
- Posts: 2
- Joined: 2022-08-31, 16:43 UTC
Re: How do I configure a default window size?
I understand but I wouldn't like to change the location of the ini file.
Could you just tell me what is the code for the default window size?
Could you just tell me what is the code for the default window size?
- sqa_wizard
- Power Member
- Posts: 3893
- Joined: 2003-02-06, 11:41 UTC
- Location: Germany
Re: How do I configure a default window size?
As already written above:
ResolutionSpecific=0
=> Settings will be saved at [AllResolutions] section at wincmd.ini now.
The keys are the the same as for other resolutions.
ResolutionSpecific=0
=> Settings will be saved at [AllResolutions] section at wincmd.ini now.
The keys are the the same as for other resolutions.
Help wrote:x= x-position of Total Commander
y= y-position
dx= Width
dy= Height
#5767 Personal license
Re: How do I configure a default window size?
2martinezzz123
Please in TC's menu click "Help" -> "About Total Commander" - and tell us if it there says:
Maybe you don't have to change the location - it is most likely that TC does NOT use C:\Windows\wincmd.iniI understand but I wouldn't like to change the location of the ini file.
Please in TC's menu click "Help" -> "About Total Commander" - and tell us if it there says:
or not?About Total Commander wrote:Setting files:
C:\Windows\winvmd.ini
C:\Windows\wcx_ftp.ini
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