VBScript压缩单个文件

Dim objShell
Set objShell = CreateObject("Shell.Application")
objShell.NameSpace("D:\tmp").CopyHere objShell.NameSpace("C:\1.zip").Items(), 256
Set objShell  = Nothing

你可能感兴趣的:(VBScript压缩单个文件)