运行批处理时如何增大控制台字体? [英] How to make the console font bigger when running a batch?

查看:103
本文介绍了运行批处理时如何增大控制台字体?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有以下用于运行Minecraft服务器的批处理文件:(run.bat)

I have the following batch file which I use to run my Minecraft server: (run.bat)

@echo off
java -Xmx1G -jar mcserver.jar

我浏览了许多论坛,而且我懒得开始学习批处理代码,所以我决定在这里提问.我想插入一段代码,将控制台中的字体大小设置为某个大小(例如18px).但是:我不希望控制台在打开的每个其他批处理文件或cmd提示符下以大字体运行...仅在此文件中.我感谢任何答案:)

I looked on many forums, and I'm too lazy to begin studying batch code, so I decided to ask here. I want to insert a passage of code that will set the font size in the console to a certain size (for example, 18px). BUT: I don't want the console to run with big font on every other batch file or cmd prompt opened... only in this file. I appreciate any answers :)

  • 我使用Windows 10.

推荐答案

这应该可以帮助您(最简单的一个)

This should help you (simplest one)

  1. 为您的批处理文件创建快捷方式(我假设您有一个批处理文件)
  2. 转到快捷方式的属性
  3. 寻找字体"标签
  4. 选择8x12或16x12
  5. 保存快捷方式

现在,如果您使用相同的快捷方式运行,则应该按照所选的字体大小显示

Now if you run with the same shortcut it should show as per font size selected

以下是屏幕截图

这篇关于运行批处理时如何增大控制台字体?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆