Convert RAR Files to ZIP Files on PC
If you encounter issues with RAR files, such as when using streaming, we recommend converting them to ZIP files.
For extracting and compressing RAR files, please use tools such as
7-zip.
Batch File to Convert Multiple RAR Files to ZIP Files at Once
On Windows, it is convenient to prepare a batch file like the one below.
Save the following script as RARtoZIP.bat, and drag & drop one or more RAR files onto it to convert them all into ZIP files.
(Requires 7-zip to be installed)
RARtoZIP.bat
@echo off
rem If 7z is installed manually (without using the installer), specify the path below
set PATH7Z="C:\Program Files\7-Zip\"
if exist %PATH7Z% goto convert
FOR /F "TOKENS=1,2,*" %%I IN ('REG QUERY "HKEY_CURRENT_USER\SOFTWARE\7-Zip" /v "Path"') DO IF "%%I"=="Path" SET PATH7Z=%%K
:convert
set path=%path%;%PATH7z%
for %%i in (%*) do (
7z e -spf -o"%%~dpni" %%i
7z a "%%~dpni.zip" "%%~dpni\*"
rmdir /s /q "%%~dpni"
)
echo end
pause