Page 1 of 1

/S=L: is there something like /S=L:M to start maximized ?

Posted: 2023-05-04, 08:52 UTC
by KozakMak
with /S=L:F we can start lister in full-screen
is there something like /S=L:M to start maximized ?

i noted something in HISTORY.txt " can now be started maximized" but how use it?

Re: /S=L: is there something like /S=L:M to start maximized ?

Posted: 2023-05-04, 13:41 UTC
by petermad
No, but if you use the parameter in a button like %COMMANDER_EXE% /S=L you can activate the "Run maximized" option in the button setup dialog.
And if you use an external command (em_command in your usercmd.ini file) you can use the parameter iconic=-1
If you use /S=L in a .lnk file (C:\totalcmd\totalcmd64.exe /S=L) you can right-click on the .lnk file and set "Run" to Maximized.
If you use a .bat or .cmd file you can use: START "" /MAX C:\totalcmd\totalcmd64.exe /S=L

Re: /S=L: is there something like /S=L:M to start maximized ?

Posted: 2023-05-04, 13:47 UTC
by KozakMak

Code: Select all

[Associations]
Filter2=*.dll *.sys *.sfx *.nfo *.
Filter2_open=""%commander_path%\TOTALCMD64.EXE" /S=L "%1""
Filter2.icon=%commander_path%\TOTALCMD64.EXE,-1
in this case its posible?

Re: /S=L: is there something like /S=L:M to start maximized ?

Posted: 2023-05-04, 14:26 UTC
by beb
Maybe this would be useful:
1. Start Lister as it is.
2. Maximize the window.
3. Use "Menu > Options - Save position"
Next time the Lister window will be maximized at start.

Re: /S=L: is there something like /S=L:M to start maximized ?

Posted: 2023-05-04, 14:44 UTC
by ghisler(Author)
You can also create a Windows link file (*.lnk) and check the option "maximized" or "minimized" there, e.g. a Desktop icon.

Re: /S=L: is there something like /S=L:M to start maximized ?

Posted: 2023-05-04, 15:08 UTC
by KozakMak
ghisler(Author)
adding /S=L:M looks more elegant solution 8)

Re: /S=L: is there something like /S=L:M to start maximized ?

Posted: 2023-05-04, 15:34 UTC
by petermad
KozakMak wrote: 2023-05-04, 13:47 UTC

Code: Select all

[Associations]
Filter2=*.dll *.sys *.sfx *.nfo *.
Filter2_open=""%commander_path%\TOTALCMD64.EXE" /S=L "%1""
Filter2.icon=%commander_path%\TOTALCMD64.EXE,-1
in this case its posible?
Make a lister.lnk file in your TC program directory with %commander_path%\TOTALCMD64.EXE" /S=L as the command (you will have to replace %commander_path% with the real path) and set "Run" in the .lnk file properties to "Maximized"

Then use:

Code: Select all

Filter2_open="%commander_path%\lister.lnk" "%1""

Re: /S=L: is there something like /S=L:M to start maximized ?

Posted: 2024-11-04, 15:29 UTC
by KozakMak
KozakMak wrote: 2023-05-04, 15:08 UTC adding /S=L:M looks more elegant solution 8)
pls move to suggestions

Re: /S=L: is there something like /S=L:M to start maximized ?

Posted: 2024-11-04, 15:59 UTC
by white

Moderator message from: white » 2024-11-04, 15:59 UTC

Moved topic
» from Total Commander (English) to TC suggestions (English)