
CODE: [Copy to clipboard]@echo off
rem 请根据自己的实际情况修改WinRAR的路径
set rarPath=C:\Program Files\WinRAR
"%rarPath%\rar.exe" a "C:\test\a.rar" "C:\test\a.txt" >nul 2>nul
echo %errorlevel%
pause
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |