Start TC with window sized by command line

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
MaxX
Power Member
Power Member
Posts: 1024
Joined: 2012-03-23, 18:15 UTC
Location: UA

Start TC with window sized by command line

Post by *MaxX »

Is there any option to define windows position or size via command line?
Sometimes I need to launch TC with different position without changes in wincmd.ini...
Ukrainian Total Commander Translator. Feedback and discuss.
User avatar
Dalai
Power Member
Power Member
Posts: 9364
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Start TC with window sized by command line

Post by *Dalai »

Just with TC this isn't possible. But you can use something like NirCmd (via its command inisetval) to make the necessary changes to your wincmd.ini and launch TC afterwards.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
MaxX
Power Member
Power Member
Posts: 1024
Joined: 2012-03-23, 18:15 UTC
Location: UA

Re: Start TC with window sized by command line

Post by *MaxX »

Understand.
Would be nice if this would be in ToDo list for next version.
Ukrainian Total Commander Translator. Feedback and discuss.
Fla$her
Power Member
Power Member
Posts: 2244
Joined: 2020-01-18, 04:03 UTC

Re: Start TC with window sized by command line

Post by *Fla$her »

2MaxX
Autorun.wdx (ShellExec command) + TCFS2 (move function).
Overquoting is evil! 👎
Post Reply