-
for 循环
https://blog.csdn.net/weixin_40650190/article/details/104002135
执行多行命令:FOR /r %%X IN (*.txt) DO ( ECHO %%X DEL %%X )
圆括号( DO必须放在同一行,否则批处理文件将不正确.
-
参数传递
https://blog.csdn.net/xijinno1/article/details/129760671
问题总结
- 中文乱码
chcp 65001
for 循环
https://blog.csdn.net/weixin_40650190/article/details/104002135
执行多行命令:
FOR /r %%X IN (*.txt) DO (
ECHO %%X
DEL %%X
)
圆括号( DO必须放在同一行,否则批处理文件将不正确.
参数传递
https://blog.csdn.net/xijinno1/article/details/129760671
chcp 65001
0 条评论