• Re: Is there an easy way to run a batch command file with bigger fonts

    From Alan K.@3:633/280.2 to All on Sun Dec 1 06:28:56 2024
    Subject: Re: Is there an easy way to run a batch command file with bigger
    fonts asking the questions?

    On 11/30/24 01:59 PM, Bill Powell wrote:
    I run a batch command file which asks a few questions but I need a bigger font when it asks for input to be typed into the command window that pops
    up. How can a bigger font be called for within a batch command file whose questions are in that big font in the command window which comes up?
    Copilot gave this response:

    @echo off
    reg add "HKCU\Console" /v FontFace /t REG_SZ /d "Lucida Console" /f
    reg add "HKCU\Console" /v FontSize /t REG_DWORD /d 0x02000000 /f
    start cmd.exe

    But the problem is that the font is changed and you have to restart cmd.exe. (last line).
    So you have to start a new batch file basically. Not really user friendly.

    Why don't you just adjust the window for larger fonts? Permanently? Then batch files would all be
    larger.


    --
    Linux Mint 22, Cinnamon 6.2.9, Kernel 6.8.0-49-generic
    Thunderbird 128.5.0esr, Mozilla Firefox 133.0
    Alan K.

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From Herbert Kleebauer@3:633/280.2 to All on Sun Dec 1 06:37:26 2024
    Subject: Re: Is there an easy way to run a batch command file with bigger
    fonts asking the questions?

    On 30.11.2024 19:59, Bill Powell wrote:
    I run a batch command file which asks a few questions but I need a bigger font when it asks for input to be typed into the command window that pops
    up. How can a bigger font be called for within a batch command file whose questions are in that big font in the command window which comes up?

    https://www.tenforums.com/tutorials/179097-how-change-font-size-windows-terminal-profile-windows-10-a.html

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From Zaidy036@3:633/280.2 to All on Sun Dec 1 12:16:58 2024
    Subject: Re: Is there an easy way to run a batch command file with bigger
    fonts asking the questions?

    On 11/30/2024 1:59 PM, Bill Powell wrote:
    I run a batch command file which asks a few questions but I need a bigger font when it asks for input to be typed into the command window that pops
    up. How can a bigger font be called for within a batch command file whose questions are in that big font in the command window which comes up?


    https://stackoverflow.com/questions/42481782/how-to-make-the-console-font-bigger-when-running-a-batch

    Have the batch open a new window with larger fonts to ask/answer the
    question.

    You may need to something to move the cursor into the new window to type
    in it. See free NirSoft at https://nircmd.nirsoft.net/movecursor.html

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From Herbert Kleebauer@3:633/280.2 to All on Mon Dec 2 00:49:11 2024
    Subject: Re: Is there an easy way to run a batch command file with bigger
    fonts asking the questions?

    On 01.12.2024 05:56, Bill Powell wrote:
    On Sat, 30 Nov 2024 20:37:26 +0100, Herbert Kleebauer wrote:

    On 30.11.2024 19:59, Bill Powell wrote:
    I run a batch command file which asks a few questions but I need a bigger >>> font when it asks for input to be typed into the command window that pops >>> up. How can a bigger font be called for within a batch command file whose >>> questions are in that big font in the command window which comes up?

    https://www.tenforums.com/tutorials/179097-how-change-font-size-windows-terminal-profile-windows-10-a.html

    The first step is "open the Windows terminal app".
    I didn't even know there was such a thing as the Windows terminal app!

    Microsoft has replaced conhost by terminal as default window for
    CMD/Powershell (at least in Win11, don't know about Win10). If you
    open a CMD window and can open more tabs then terminal instead of
    conhost is used. I think with terminal the font size specified in a
    link to batch isn't used anymore, you have to change the font size
    direct in terminal. Also you can't change the window size by a
    "mode con" anymore (because all tabs share the same window).

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From Herbert Kleebauer@3:633/280.2 to All on Tue Dec 3 08:44:17 2024
    Subject: Re: Is there an easy way to run a batch command file with bigger
    fonts asking the questions?

    On 02.12.2024 06:22, Bill Powell wrote:

    But now I can *only* open up a Windows Terminal (wt.exe) when I run any
    batch file. That means, I can't get to a "normal" command window anymore.

    In the settings (right click on title bar of wt.exe) you can select conhost/terminal and CMD/PowerShell. If you switch back to conhost
    and later want terminal, you have to type wt.exe to open a terminal
    to access the settings.

    In Win10 you can also type "conhost" to get a cmd window using conhost.


    Of course, that doesn't work for all batch files though, where my batch
    file is (simplified) shown below which simply asks for input from a user.

    @echo off
    :START
    set /p dirname="DIR NAME? "
    if not exist "%dirname%" mkdir "%dirname%"
    set /p repeat=Repeat? [y/n]:
    if %repeat%== y goto START else goto FINISH
    :FINISH
    exit /B 0

    If it is only this batch where you want a big font, why not use an
    editor to enter the directory names. This way you can select any
    font size you like:

    @echo off
    echo.>list.txt
    start /w list.txt
    for /f "tokens=*" %%i in (list.txt) do if not exist "%%i" (
    mkdir "%%i"&echo creating: %%i ) else ( echo already exisiting: %%i)
    del list.txt
    pause





    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)
  • From Zaidy036@3:633/280.2 to All on Tue Dec 3 13:24:54 2024
    Subject: Re: Is there an easy way to run a batch command file with bigger
    fonts asking the questions?

    On 11/30/2024 3:54 PM, VanguardLH wrote:
    Bill Powell <bill@anarchists.org> wrote:

    I run a batch command file which asks a few questions but I need a bigger
    font when it asks for input to be typed into the command window that pops
    up. How can a bigger font be called for within a batch command file whose
    questions are in that big font in the command window which comes up?

    After the console window appears for the command shell (cmd.exe), use
    the Control Menu (click the icon at left end of title bar), Properties,
    Font tab. That changes the properties for how that shell got loaded.
    When you use the same means of loading the shell, the font selections
    get reused. Lots of settings under Properties.
    not sure about this but would changing to a different desktop before
    starting a new batch allow the new one to have different command
    properties than the first?

    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: A noiseless patient Spider (3:633/280.2@fidonet)