问题
I have the following batch file which I use to run my Minecraft server: (run.bat)
@echo off
java -Xmx1G -jar mcserver.jar
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 :)
- I use Windows 10.
回答1:
This should help you (simplest one)
- Create a shortcut to your batch file (I assume you have a batch file)
- Go to Properties of the Shortcut
- Look for the tab Fonts
- Choose 8x12 or 16x12
- Save the shortcut
Now if you run with the same shortcut it should show as per font size selected
Here are screenshots
来源:https://stackoverflow.com/questions/42481782/how-to-make-the-console-font-bigger-when-running-a-batch