winrar x [-switches] [files] [@file lists] [destionation folder]
如果在当前目录解压缩,即解压缩时不写目录名
winrar e [-switches] [files] [@file lists] [destionation folder]
例如你想把try.rar解压缩到c盘下,可以winrar x c:try.rar c:try.mdb
三、一个例子
在vb中新建一个工程,在form1中添加两个按钮command1、command2和command3,把他们的caption属性分别设为"压缩文件"、"解压缩文件"和"传递文件"。按command1时把文件try.mdb压缩成try.rar。
private sub command1_click()