增加批处理脚本中的文本大小

Increase text size in a batch script

echo HELLO EVERYONE
timeout 3 >nul
echo how's is going your day

我想要 "HELLO EVERYONE" 尺码 20,今天过得怎么样?尺码 10

如何在不更改 cmd 属性的情况下在批处理脚本中执行此操作

您可以尝试使用 HTA window 而不是控制台应用程序(将其另存为 .bat 文件):

<!-- :

@echo off

mshta.exe "%~f0"

exit /b %errorlevel%
-->

<html>
<head>
<title>~~~~</title>
<!--meta http-equiv="X-UA-Compatible" content="IE=edge"--> 
</head>
<body>

<font size="15"><b>HELLO EVERYONE</b></font>


    <script type="text/javascript">

        setTimeout(function() {
            document.body.innerHTML=document.body.innerHTML + "<p/><p><font size='7'>how&#96;s is going your day</font></p>";;
        }, 5000);

    </script>
</body>

</html>

在这里也检查 figlet 函数:How would I use some multi line ascii art as my characters for a counter? (batch)