Well,first of all Hey there !! How are ya all,hope you are doing fine so far !! Well,as always every time I come across a Trick/Tweak while screwing with my PC,I prefere to post it down here so that everyone can benefit from it !! Anyway,this time its a nice simple TuT that makes you get to know how to Auto-Unrar files using uTorrent without worrying about extracting them manually every time a Big File (Especially Games,Large Scene Packs .. etc) gets done downloading,so here how it goes :
Required Toolz :
1. uTorrnet Installed (usually in C:\Programs Files).
2. Winrar Installed (usually in C:\Program Files\Winrar).
3. A Batch File to Run Apply the Trick.
Q : What is the Idea ?
A : Well,its about Unraring Some Files without worrying how to Switch to the appropriate tools to get those Files out of their Boxes !!
Its Like this :
1. Open a CMD Window :
2. Add the Winrar Toolz to the path :
Code:
C:> set path="C:Program FilesWinRAR";%path%
3. Switch to the directory where you want your files to be extracted to:
Code:
C:> CD /d Z:some_folder
4. Use unrar to extract the Specified File:
Code:
Z:some_folder> unrar e C:some_rar_file.rar
So We Need a Batch File in order to get rid of this SIlly Headache,right ?
Q : How Do I Generate the Batch File ?
A : Well here is the list of codes that you need to put in a Notepad file to Generate the Batch File :
Code:
@REM ------- BEGIN demo.cmd ----------------
@setlocal
@echo off
set path="C:Program FilesWinRAR";%path%
for /F %%i in ('dir /s/b *.rar') do call :do_extract "%%i"
goto :eof
:do_extract
echo %1
mkdir %~1.extracted
pushd %~1.extracted
unrar e %1
popd
REM ------- END demo.cmd ------------------
Instructions:
1. Create "unrar.bat" using the script on the page above
2. Copy "unrar.bat" inside the folder you're downloading
3. On uTorrent, right-click the torrent > Properties > Advanced Tab > Click "..."
4. Choose "All files (*.*)" at the bottom then browse for the bat file
Ta Taaah !! We are done now,Just run the Batch File Everytime you want to extract something before you go to sleep then you wont worry about Extracting when you get up anymore,for sure you will just need to modify the rar's name in the notepad file before switching to a newer file
Hope this Comes to all of you !!
Bookmarks