• Windows window resizing

    From digimaus@618:618/1 to All on Wed Aug 12 16:46:48 2026
    Hi everyone.

    In the script I wrote to run MultiMail on my Windows 11 system, I
    noticed I had to keep running the script as admin to get it to resize
    the window. I'm using cmd.exe.

    I wound up asking Google and here is what Gemini told me:

    "Even if you launch your batch file explicitly using cmd.exe, Windows
    11 still intercepts the execution and forces it to open inside the
    new modern app called Windows Terminal.

    Because Windows Terminal acts as a wrapper around cmd.exe, legacy
    cmd.exe sizing controls (like mode con) are blocked unless the
    application runs with full Administrator privileges."

    However, it offered me several solutions and I chose this one:

    "You can globally configure Windows 11 to stop routing standalone
    command line script files into the new Windows Terminal app. Doing so
    lets cmd.exe rely on its original legacy background app
    (conhost.exe), restoring the functionality of your existing mode con
    line.

    1. Press the Windows Key, type Terminal, and launch the app.

    2. Click the down-arrow icon on the top tab bar and open Settings.

    3. Click the Startup menu category on the left sidebar.

    4. Look for the setting titled "Default terminal application" or
    "Launch-type for stand-alone scripts".

    5. Change the selection from Windows Terminal or Let Windows decide
    over to Windows Console Host.

    Once you save those preferences, any standard user executing a batch
    file can resize the window using standard mode con variables."

    This solution is working well so far for me. Thought I'd share this.

    -- Sean


    ... A penny saved is a Congressional oversight.

    --- MultiMail/Win
    * Origin: Outpost BBS * Johnson City, TN (618:618/1)
  • From Atreyu@618:400/24 to Digimaus on Wed Aug 12 20:58:53 2026
    On 12 Aug 26 16:46:48, Digimaus said the following to All:

    Once you save those preferences, any standard user executing a batch
    file can resize the window using standard mode con variables."

    This solution is working well so far for me. Thought I'd share this.

    I really dislike what Microsoft did to Cmd... They took a simple shell that has worked flawlessly for decades and crapified it.

    Atreyu

    --- Renegade vY2Ka2
    * Origin: Joey, do you like movies about gladiators? (618:400/24)
  • From digimaus@618:618/1 to Atreyu on Wed Aug 12 23:01:02 2026
    Atreyu wrote to Digimaus:

    I really dislike what Microsoft did to Cmd... They took a simple shell
    that
    has worked flawlessly for decades and crapified it.

    Pretty much, yeah. However, after I did that, things started to work
    right.

    -- digi

    --- MBSE BBS v1.1.7.2 (Linux-x86_64)
    * Origin: Outpost BBS * Johnson City, TN (618:618/1)