【BAT批处理】bat批量处理脚本命令帮助、实际应用
【BAT批处理】bat批量处理脚本命令帮助
九、命令帮助
###########################
ver cmd /? set /? rem /? if /? echo /? goto /? for /? shift /? call /?
其他需要的常用命令
type /? find /? findstr /? copy /?
下面将所有上面的帮助输出到一个文件
echo ver >tmp.txt ver >>tmp.txt echo cmd /? >>tmp.txt cmd /? >>tmp.txt echo rem /? >>tmp.txt rem /? >>tmp.txt echo if /? >>tmp.txt if /? >>tmp.txt echo goto /? >>tmp.txt goto /? >>tmp.txt echo for /? >>tmp.txt for /? >>tmp.txt echo shift /? >>tmp.txt shift /? >>tmp.txt echo call /? >>tmp.txt call /? >>tmp.txt echo type /? >>tmp.txt type /? >>tmp.txt echo find /? >>tmp.txt find /? >>tmp.txt echo findstr /? >>tmp.txt findstr /? >>tmp.txt echo copy /? >>tmp.txt copy /? >>tmp.txt type tmp.txt
十、实际应用
开机后一键启动程序
@echo off ::启动QQ start "" "D:\Program Files\Tencent\QQLite\Bin\QQScLauncher.exe" /forceuninstall ::启动WeChat start "" "D:\Program Files\Tencent\WeChat\WeChat.exe" /forceuninstall
简化开机后,手动点击执行启动程序,可以直接写
start "" "D:\Program Files\Tencent\QQLite\Bin\QQScLauncher.exe"
声明:本网站为“个人非营利性”网站,仅是博主与热心网友收集整理提供的经验记录和学习内容!本站文章图片来源于网络和AI,如有问题,可联系本站删除。
网站初心:一些棘手的、偏门的问题,能比较方便地在一个网站上查询、解决。
