Batch Extract RAR Archive
From M L Vision Network Services Wiki
Create a batch file with the following lines:
set RAR="C:\Program Files\WinRAR\Rar.exe" set RAROPTIONS=x -r set INPUTDIRECTORY=%1 set OUTPUTDIRECTORY=%2 IF NOT EXIST %OUTPUTDIRECTORY% MKDIR %OUTPUTDIRECTORY% %RAR% %RAROPTIONS% %INPUTDIRECTORY%\*.RAR %OUTPUTDIRECTORY%
All RAR archives found within the input directory be extracted to the output directory.