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.