Any way to have multiple font, text size, etc. in a batch file?

拜拜、爱过 提交于 2020-04-07 08:49:11

问题


As the title says, I don't know if there is any possible way to do things like Bold, italics, fonts, text size in a batch file, and if I can have different values of them in the same file.

This is something that is probably not possible, but if it is can someone tell me how?

NOTE: I'm not looking to go into properties or what-not. I mean that it's something I can code in.


回答1:


The two images below were created by a Batch file:

The method used to create such images is fully described at this post.




回答2:


Since you did not mention what kind of system the batch file should run on I'll give you the answer for the old style one, ANSI.SYS information If you have a more modern system you might want to take a look at Powershell instead. Information on Petri.com



来源:https://stackoverflow.com/questions/46316962/any-way-to-have-multiple-font-text-size-etc-in-a-batch-file

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!