平民程序 - linghuye's blog

天下风云出我辈,一入江湖岁月催。皇图霸业谈笑中,不胜人生一场醉。提剑跨骑挥鬼雨,白骨如山鸟惊飞。尘事如潮人如水,只笑江湖几人回。

随笔 - 221, 文章 - 0, 评论 - 680, 引用 - 0
数据加载中……

WinRar和7zip 代码备份/程序发布语法备忘

CALL "E:\Program Files\7-zip\7z.exe" a MyWarCraftStudio @Backup.lst -xr@ExcludeFiles.lst
CALL "E:\Program Files\WinRAR\WinRAR.exe" a DmGameSDK @GameSDKFiles.lst -x@ExcludeFiles.lst

Backup.lst为文件列表文本文件
ExcludeFiles.lst为扩展名列表文本文件,Example:

*.log
*.obj
*.ilk
*.ncb
*.7z
*.rar
*.pch
*\Objs

http://www.cnitblog.com/Files/linghuye/PackShell.rar

create a .lst file as a text file with file/director pathname every line, then double click the .lst file in window shell, it will pack the files into a 7z package.

posted on 2006-07-13 23:40 linghuye 阅读(837) 评论(0)  编辑 收藏 引用 所属分类: 编程札记

只有注册用户登录后才能发表评论。