问题
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