echo HELLO EVERYONE
timeout 3 >nul
echo how's is going your day
我希望“ HELLO EVERYONE”的尺寸为20,今天过得怎么样?尺寸10
如何在批处理脚本中执行此操作而不更改更改的cmd属性
答案 0 :(得分:1)
您可以尝试使用HTA窗口而不是控制台应用程序(将其另存为.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`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)