代码如下:
@echo on for %%f in (*.rar *.zip) do winrar.exe a %%f maxgo.cn.html
echo on 回显开启 %%f 为参数 ()内为参数内容 代表该目录下所有的rar和zip文件 winrar.exe 从winrar安装目录中拷贝 maxgo.cn.html 要添加的文件
将此代码写入txt文件保存为.bat运行即可
Name (required)
Mail (will not be published) (required)
Website
0 Responses to “利用批处理批量往rar中添加文件”