批处理制作自解压包

http://www.doc88.com/p-698922814460.html




@echo off
::设置rar.exe 所在路径
set rar="c:\program files\winrar\rar.exe"


echo Silent=1 >> conf.txt
echo Overwrite=1 >>conf.txt


%rar% a -SFXDefault.SFX dzhtoolscript -ep1 112 c -zconf.txt


del /f conf.txt

你可能感兴趣的:(批处理)