Dim oShell
Set oShell = WScript.CreateObject ("WScript.shell")
oShell.run """C:\Program Files\WinRar\WinRar.exe"" X ""C:\Temp\Temp.rar"" C:\Temp\Test"
Set oShell = Nothing
非常感谢您的帮助,谢谢!
1 个答案:
答案 0 :(得分:1)
添加“\”以将参数明确标记为目录/文件夹通常是必需的:
解压缩文件夹的示例:
unrar x c:\ yourfile.rar * .gif c:\ extractfolder \