Page 1 of 2 12 LastLast
  1.    19 Jun 2016 #1
    Join Date : Jun 2016
    Posts : 17
    10 pro

    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 ComputerSystem Spec
  2.    19 Jun 2016 #2
    Join Date : Aug 2014
    Forever West
    Posts : 3,986
    Win10 Home and Pro, Win10 Insider Preview, Win7 Home, Linux Mint

    Quote Originally Posted by thermocycler View Post
    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 ComputerSystem Spec
  3.    19 Jun 2016 #3
    Join Date : Jun 2016
    Posts : 17
    10 pro
    Thread Starter

    Quote Originally Posted by Berton View Post
    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:
    Click image for larger version. 

Name:	cmdfont.png 
Views:	3 
Size:	132.5 KB 
ID:	85943
      My ComputerSystem Spec
  4.    19 Jun 2016 #4
    Join Date : Aug 2014
    Forever West
    Posts : 3,986
    Win10 Home and Pro, Win10 Insider Preview, Win7 Home, Linux Mint

    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 ComputerSystem Spec
  5.    19 Jun 2016 #5
    Join Date : Jun 2016
    Posts : 17
    10 pro
    Thread Starter

    Hmmmm, I see what you mean Not a positive change from W7 IMHO.
      My ComputerSystem Spec
  6.    20 Jun 2016 #6
    Join Date : Aug 2014
    Forever West
    Posts : 3,986
    Win10 Home and Pro, Win10 Insider Preview, Win7 Home, Linux Mint

    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 ComputerSystem Spec
  7.    20 Jun 2016 #7
    Join Date : Oct 2013
    Penns Forrest
    Posts : 3,506
    Win_8.1-Pro, Win_10.1607-Pro, Mint_17.3

    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 ComputerSystem Spec
  8.    20 Jun 2016 #8
    Join Date : Jun 2016
    Posts : 17
    10 pro
    Thread Starter

    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 ComputerSystem Spec
  9.    20 Jun 2016 #9
    Join Date : Jul 2015
    Posts : 25
    Win 10

    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 ComputerSystem Spec
  10.    20 Jun 2016 #10
    Join Date : Oct 2013
    Penns Forrest
    Posts : 3,506
    Win_8.1-Pro, Win_10.1607-Pro, Mint_17.3

    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 ComputerSystem Spec

 
Page 1 of 2 12 LastLast


Similar Threads
Thread Forum
How to connect/disconnect to a VPN using the command line?
Hi all I have several network connections configured. There is one wifi connection which automatically connects to my WLAN, another cable based LAN connection to a NAS which is used for backups and some L2TP connection connections (used...
Network and Sharing
How to start Microsoft Photos from command line?
Hi! In Windows 10 is new app for photos and albums as default picture viewer. In Windows 8.1 I used JPEGView, and sometimes Windows Photo Viewer. Now I'm customizing Windows and I know how to start Photo Viewer from cmd and created context menu...
Software and Apps
Can restore of Win 7 be started from command line ?
For some unknown reason I cannot any more navigate to Update panel from "Einstellungen" - it is blocked. I have to cancel the "Einstellungen" window by the task manager ! So in this moment I cant go forward nor backward any more: cant...
Installation and Upgrade
setting default apps from command line?
in win7, after installation and setting the correct file associations, the correct program would start upon double clicking in win10 however, it popups wanting you to set a ?default app?. ive seen this happen for klite codec pack, firefox,...
Software and Apps
How to show Command Prompt Window when running task in Task Scheduler?
Is there a way to make the "Command Prompt" window show when I have a task running in Windows task Scheduler? I would like to be able to view the progress of the task. For example, I have a program called "Zap2xml" that collects TV EPG data. It...
General Support
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 02:35.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums