使用 winrar 命令行创建 zip 档案 [英] use winrar command line to create zip archives
本文介绍了使用 winrar 命令行创建 zip 档案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用以下 winrar 命令行来创建 zip 存档:
I'm using the following winrar command line to create zip archives:
rar.exe a -df -ep -ag[yyyyMMddhhmmss] -ms[txt] C:MyZipFile.zip C: mpMyFiles*.txt
创建的档案是 RAR 格式而不是 ZIP.有没有办法创建常规 ZIP 而不是 RAR 档案?
The archives created are in RAR format instead of ZIP. Is there a way to create regular ZIP and not RAR archives?
推荐答案
确保您使用的是 WinRAR.exe 而不是 Rar.exe.
Make certain you are using WinRAR.exe and not Rar.exe.
如果您使用命令行来执行此操作,请确保您键入:
If you are using the command line to do this make sure you type:
winrar a -afzip c: est.zip c: est.csv
不是:
a -afzip c: est.zip c: est.csv
它对我有用.我也让它在 SSIS 中工作.
It works for me. I also got it to work in SSIS.
这篇关于使用 winrar 命令行创建 zip 档案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文