7-Zip

張貼者:2010年3月11日 上午4:04tony.hkcomputer@gmail.com   [ 已更新 2018年9月9日 上午7:23 ]
@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\7z1805-x64.exe goto next_64bit
start /wait "" wget.exe "https://7-zip.org/a/7z1805-x64.exe" --directory-prefix=Seven-Zip
:next_64bit
start /wait Seven-Zip\7z1805-x64.exe /S
goto end
:not_64bit
if exist Seven-Zip\7z1805.exe goto next
start /wait "" wget.exe "https://7-zip.org/a/7z1805.exe" --directory-prefix=Seven-Zip
:next
start /wait Seven-Zip\7z1805.exe /S
:end

Comments