🗒️技术分享丨BAT批处理指令的使用(附几个常用的指令)
00 分钟
2020-7-9
2023-12-11
type
status
date
slug
summary
tags
category
icon
password

BAT指令使用

①新建一个文本文件
notion image
②随意改名,后缀改为.bat
notion image
③右击文件,选择“编辑”
notion image
④将BAT代码复制进去,保存,使用时直接双击打开bat文件即可。
notion image

案例1:导出当前目录下所有文件/文件夹名字

notion image

案例2:导出当前目录下所有文件/文件夹的详细信息

notion image

案例3:将当前目录下所有文件后缀转为.jpg(可根据需要替换jpg)

 
 

评论
  • Cusdis