其他分享
首页 > 其他分享> > 学习bat语法

学习bat语法

作者:互联网

不懂的cmd命令可以在这里搜

github上的一些.bat文件的例子(https://github.com/Archive-projects/Batch-File-examples)

.bat文件的例子(https://github.com/happy05dz/Batch-Script-Collection)

基本语法

echo on
echo "hello world"
pause

执行后在这里插入图片描述

echo off
echo "hello world"
pause

执行后
在这里插入图片描述

@echo off
echo "hello world"
pause

在这里插入图片描述
可查看下面两篇文档学习
文档一
文档二

标签:学习,bat,pause,echo,语法,github,world,hello
来源: https://blog.csdn.net/qq_41761210/article/details/122861282