7-Zip

張貼者:2010年3月11日 上午4:04tony.hkcomputer@gmail.com   [ 已更新 2016年11月21日 下午8:42 ]
@rem 7-Zip is a file archiver with the high compression ratio.  壓縮解壓檔案軟件
@rem The program supports 7z, ZIP, CAB, RAR, ARJ, LZH, CHM, GZIP, BZIP2, Z, TAR, CPIO, ISO, MSI, WIM, NSIS, RPM and DEB formats. 
if not exist "%SystemDrive%\Program Files (x86)" goto not_64bit
if exist Seven-Zip\7z1604-x64.exe goto next_64bit
start /wait "" wget.exe "http://7-zip.org/a/7z1604-x64.exe" --directory-prefix=Seven-Zip
:next_64bit
start /wait Seven-Zip\7z1604-x64.exe /S
goto end
:not_64bit
if exist Seven-Zip\7z1604.exe goto next
start /wait "" wget.exe "http://7-zip.org/a/7z1604.exe" --directory-prefix=Seven-Zip
:next
start /wait Seven-Zip\7z1604.exe /S
:end

Comments