1、因为需要借助WinRAR,所以需要先安装WinRAR软件
2、接着在电脑D盘新建一个测试文件test.txt
3、将命令行的位置定位到D盘(cd到D盘)
4、接着先测试一下压缩命令:start winrar a test test.txt
5、再测试一下不带解压路径的解压命令:start winrar e d:\test.rar
6、最后测试一下带解压路径的解压命令:衡痕贤伎start winrar x test.rar test.txt d:\
1、因为需要借助WinRAR,所以需要先安装WinRAR软件
2、接着在电脑D盘新建一个测试文件test.txt
3、将命令行的位置定位到D盘(cd到D盘)
4、接着先测试一下压缩命令:start winrar a test test.txt
5、再测试一下不带解压路径的解压命令:start winrar e d:\test.rar
6、最后测试一下带解压路径的解压命令:衡痕贤伎start winrar x test.rar test.txt d:\