Cmd window font tiny when running .bat and other command line progs

Page 1 of 2 12 LastLast

  1. Posts : 17
    10 pro
       #1

    Cmd window font tiny when running .bat and other command line progs


    The default command window font on my W10 Pro is so small as to be unreadable. I changed the cmd.exe font and size properties but that only solves the problem when cmd.exe is run directly. Batch (.bat) files and other programs that open a command window still show in the original tiny font.

    I'm going blind here, can someone please tell me how to change this?
      My Computer


  2. Posts : 13,985
    Win10 Pro and Home, Win11 Pro and Home, Win7, Linux Mint
       #2

    thermocycler said:
    The default command window font on my W10 Pro is so small as to be unreadable. I changed the cmd.exe font and size properties but that only solves the problem when cmd.exe is run directly. Batch (.bat) files and other programs that open a command window still show in the original tiny font.

    I'm going blind here, can someone please tell me how to change this?
    I've changed my Command Prompt window to display yellow text on blue, changed Font size and changed window size. I went to Start, All apps, scrolled down to the W section, scrolled down to Windows System, right-clicked Command Prompt, clicked More and chose Open File location. Then I right-clicked that shortcut and Properties. The same settings affected both Command Prompt choices on the right-click of the Start menu.
      My Computers


  3. Posts : 17
    10 pro
    Thread Starter
       #3

    Berton said:
    I've changed my Command Prompt window to display yellow text on blue, changed Font size and changed window size. I went to Start, All apps, scrolled down to the W section, scrolled down to Windows System, right-clicked Command Prompt, clicked More and chose Open File location. Then I right-clicked that shortcut and Properties. The same settings affected both Command Prompt choices on the right-click of the Start menu.
    Right! That's what I've done and it has fixed the command window if it's opened directly. The problem I am describing is that when it is opened by a batch or other command line file it does not respect those new settings. Maybe a screen grab
    will clarify the issue. Smaller window is opened by a batch file, you'll note that it's the same location cmd.exe that we modified from the Start Menu:
    Cmd window font tiny when running .bat and other command line progs-cmdfont.png
      My Computer


  4. Posts : 13,985
    Win10 Pro and Home, Win11 Pro and Home, Win7, Linux Mint
       #4

    It appears to me the issue is a .bat file is calling cmd.exe from %windir%\system32\ directly and not through the customizable short cut on the Start, All apps menu. Right-clicking that cmd.exe file that does not give any custom properties available.
      My Computers


  5. Posts : 17
    10 pro
    Thread Starter
       #5

    Hmmmm, I see what you mean Not a positive change from W7 IMHO.
      My Computer


  6. Posts : 13,985
    Win10 Pro and Home, Win11 Pro and Home, Win7, Linux Mint
       #6

    Windows' Command Prompt can use many of the 'old' DOS batch file commands, maybe something on one of these pages will show how to write a batch file that changes the colors and Fonts:
    dos batch file commands at DuckDuckGo
    I'm recalling that back in my MS-DOS 5 and Windows 3.1 days that could be done but am not recalling the details. I still have a copy of the book Advanced Batch File Programming 3rd Edition, it also included the 5.25" and 3.5" floppies, could compress the files and try to attach if interested.
      My Computers


  7. Posts : 3,502
    Win_8.1-Pro, Win_10.1607-Pro, Mint_17.3
       #7

    Launch Command Prompt (Admin)
    Make changes needed to that instance.

    I had a discussion with another member about this subject - they missed the point
    Command Prompt (Admin)
    x-menu: background color set to red 120 ... I immediately know that I am in an elevated cmd
    [ File ] menu on File Explorer: Open cmd as admin: have to set the background color set to red 120 here as well. The property did not stick across the two instances.

    I tried launching C:\windows\system32\cmd (from inside a std Cmd) to see if the background was red 120 - but alas it was not.
    Run (WinKey+R) [ cmd ] was red 120 though.

    I can't recall where cmd stores it's configuration ... or if it even uses one any longer.
    But there has to be somewhere these properties can be set ... registry console?
    Last edited by Slartybart; 20 Jun 2016 at 12:25.
      My Computer


  8. Posts : 17
    10 pro
    Thread Starter
       #8

    Yeah, there have to be a registry hacks for this. I found this Microsoft blog post telling us how wonderful the Win 10 console was going to be but it doesn't have any actionable intelligence.
      My Computer


  9. Posts : 25
    Win 10
       #9

    Confirmed but wierd.


    Confirmed and unexpected.
    I fixed mine by creating an innocuous bat with
    Code:
    copy con tst.bat
    dir /s
    ^Z
    I clicked it while running to pause and set the CMD properties to match what a default Command window was and it worked.
      My Computer


  10. Posts : 3,502
    Win_8.1-Pro, Win_10.1607-Pro, Mint_17.3
       #10

    Try this (I feel like a novice )

    Launch Command Prompt
    Right click the title bar
    Select Defaults
    Set your fonts, position, size, color, etc
    Press OK

    It didn't seem to work on my machine
    ... maybe restarting Explorer or the machine after changing the Command defaults is required
    I'm in the middle of a few things - I'll try both restarts and post back.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 06:16.
Find Us




Windows 10 Forums