2个回答
展开全部
Dim WinRar As String 'winrar.exe文件路径
Dim File1 As String ' 源文件路径
Dim File2 As String ' 源文件路径
Dim File3 As String ' 源文件路径
Dim Target As String ' 目标文件路径
Dim Goal As String
WinRar = "C:\Program Files\WinRAR\winrar.exe"
File1 = "C:\Users\Administrator\Desktop\DATAG2\Data.xml"
File2 = "C:\Users\Administrator\Desktop\DATAG2\Result.xml"
File3 = "C:\Users\Administrator\Desktop\DATAG2\Testing.xml"
Target = "C:\Users\Administrator\Desktop\DATAG2\" & "压缩文件名" & ".zip"
Goal = WinRar & " a -ep " & Target & " " & File1 & " " & File2 & " " & File3
Shell Goal
Dim File1 As String ' 源文件路径
Dim File2 As String ' 源文件路径
Dim File3 As String ' 源文件路径
Dim Target As String ' 目标文件路径
Dim Goal As String
WinRar = "C:\Program Files\WinRAR\winrar.exe"
File1 = "C:\Users\Administrator\Desktop\DATAG2\Data.xml"
File2 = "C:\Users\Administrator\Desktop\DATAG2\Result.xml"
File3 = "C:\Users\Administrator\Desktop\DATAG2\Testing.xml"
Target = "C:\Users\Administrator\Desktop\DATAG2\" & "压缩文件名" & ".zip"
Goal = WinRar & " a -ep " & Target & " " & File1 & " " & File2 & " " & File3
Shell Goal
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询