+ Reply to Thread
Results 1 to 6 of 6

Thread: [TuT] How 2 Auto-Unrar Using uTorrent !!

  1. #1

    Join Date
    22.05.08
    Location
    SB-RepubliC
    P2P Client
    SB Invention !!
    Posts
    2,899
    Activity Longevity
    0/20 19/20
    Today Posts
    0/5 sssss2899

    [TuT] How 2 Auto-Unrar Using uTorrent !!

    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 :

    Code:
    Start > Run > CMD
    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 !!
    Last edited by Aurion; 02.07.08 at 05:39.
    Reply With QuoteReply With Quote
    Thanks

  2. Who Said Thanks:

    leechmodder (21.11.11) , mmmmm (13.01.09) , divlord (16.11.08) , Butcho (03.07.08) , shoulder (01.07.08) , hitman (01.07.08) , anon (01.07.08)

  3. #2
    Moderator anon's Avatar
    Join Date
    01.02.08
    Posts
    39,444
    Activity Longevity
    8/20 19/20
    Today Posts
    5/5 ssss39444
    Quote Originally Posted by Reppy View Post
    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
    mmm you have the backslash problem there replace what's between CODE tags with these images i made for you :

    2.
    3.
    4.

    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 ------------------
    the same here...



    of course you can't copy the text from the image to notepad :/ but it's a matter of replacing:

    set path="Crogram FilesWinRAR";%path%

    with

    set path="%programfiles%\WinRAR";%path%



    and TY for the tut very useful for people that leave their computer downloading overnight. when they wake up, completed torrents will have already been extracted so that they don't waste time :)
    "I just remembered something that happened a long time ago."
    Reply With QuoteReply With Quote
    Thanks

  4. Who Said Thanks:

    leechmodder (21.11.11) , divlord (16.11.08)

  5. #3
    Moderator
    Rebound's Avatar
    Join Date
    19.04.07
    Location
    Ende der Welt
    P2P Client
    Faze Mod 0.2 Private Beta
    Posts
    3,725
    Activity Longevity
    6/20 20/20
    Today Posts
    0/5 sssss3725
    Ok guys. I´ve found the bug.

    Please uncheck the auto media emded button, than it works correct.
    The auto media thinks with a backslash our code is an url and change it.

    Little screen:



    Uncheck and then it works perfect.

    I think it´s the best, if you edit all old threads, because it´s a bit difficult to write it from the images.

    best regards and sorry for this stupid bug,

    Rebound


    Reply With QuoteReply With Quote
    Thanks

  6. Who Said Thanks:

    anon (01.07.08) , hitman (01.07.08)

  7. #4
    Moderator anon's Avatar
    Join Date
    01.02.08
    Posts
    39,444
    Activity Longevity
    8/20 19/20
    Today Posts
    5/5 ssss39444
    glad the problem is solved now :)

    wonder why the media embedding code handles backslashes... they are illegal characters in an url. maybe it thinks we made a mistake typing it and deletes all \'s from the would-be link to retrieve; pretty much like most browsers change them to /'s instead (type www.google\.com and you'll see ^^)
    "I just remembered something that happened a long time ago."
    Reply With QuoteReply With Quote
    Thanks

  8. #5

    Join Date
    22.05.08
    Location
    SB-RepubliC
    P2P Client
    SB Invention !!
    Posts
    2,899
    Activity Longevity
    0/20 19/20
    Today Posts
    0/5 sssss2899
    @ anon: Done buddy,sorry for not noticing that in the first place its just that I have hundreds of TuTs inside my PC saved as notepads so I just copy/paste the main frames & only manually write the Introduction myself !!

    @ Rebound: Thanks buddy for fixing that Bug,man you are so damn Fast
    Reply With QuoteReply With Quote
    Thanks

  9. #6

    Join Date
    12.11.08
    Location
    Europe
    P2P Client
    Nothing ATM
    Posts
    303
    Activity Longevity
    0/20 18/20
    Today Posts
    0/5 ssssss303
    you could just use Autounpack instead. this is simpler.
    no need for a batch.
    Reply With QuoteReply With Quote
    Thanks

  10. Who Said Thanks:

    Gapo (13.06.11)

+ Reply to Thread

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •