Convert RAR files to ZIP files on a PC


If using RAR files causes inconveniences, such as when using streaming, we recommend converting them to ZIP files.
To extract/compress RAR files,7-zipplease use tools such as the above.

A BAT file to batch-convert multiple RAR files to ZIP files


On Windows, it’s convenient to prepare a batch file like the following.
Save the following script as RARtoZIP.bat, then drag & drop RAR files (multiple allowed) onto it to convert them all into ZIP files.
(Requires 7-zip to be installed)

RARtoZIP.bat

@echo off

rem ▼If you installed 7z without using the installer, write 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