我知道这已经被问过,但是我还没有findWindows Server 2008的答案。我发现的大部分参考资料都是在Windows Server 2003资源工具包中,但不是在2008年。
我知道有第三方工具,但是由于2003年有一个解决scheme,我会假设2008年有一些东西?
安装7邮编
把它放在你的path,如果需要的话。
如果您确实需要Windows中的工具,请安装2k3资源工具包并使用“压缩”实用程序
资源工具包: http : //www.microsoft.com/download/en/details.aspx? displaylang=en& id=17657
压缩实用程序
C:\>compress /? Syntax: COMPRESS [-R] [-D] [-S] [ -Z | -ZX ] Source Destination COMPRESS -R [-D] [-S] [ -Z | -ZX ] Source [Destination] Description: Compresses one or more files. Parameter List: -R Rename compressed files. -D Update compressed files only if out of date. -S Suppress copyright information. -ZX LZX compression. This is default compression. -Z MS-ZIP compression. Source Source file specification. Wildcards may be used. Destination Destination file | path specification. Destination may be a directory. If Source is multiple files and -r is not specified, Destination must be a directory.