bat 脚本常用命令介绍

简单介绍:

批处理文件的内容为 命令注释
@echo off 不显示后续命令行及当前命令行
dir c:\*.* >a.txt 将c盘文件列表写入a.txt
call c:\ucdos\ucdos.bat 调用ucdos bat文件
echo 你好 显示"你好" 
pause   暂停,等待按键继续
rem 准备运行wps 注释:准备运行wps 
cd ucdos 进入ucdos目录
wps 运行wps


                

猜你喜欢

转载自ysj5125094.iteye.com/blog/2348997