+ Reply to Thread
Results 1 to 4 of 4

Thread: Vuze Auto-Unrar

  1. #1
    Advanced User
    Join Date
    30.07.09
    P2P Client
    Azureus™
    Posts
    847
    Activity Longevity
    0/20 18/20
    Today Posts
    0/5 ssssss847

    Vuze Auto-Unrar

    Hi,

    I was wondering if anyone is using the CommandRunner-Plugin for Auto-Extracting RAR-Files.
    If so, I would like to know a proper CommandLine-Script for doing such a 'unraring' in a proper way.

    Would be nice to see single/multiple archives being auto-unrared.
    There is a script.bat needed.

    I wasn't able to figure out how to do that exactly.
    However, helpful advices/how-to's appreciated.

    I thought that such a feature would be nice, after using the
    JDownloader-Feature (Built-In).
    ~td1
    Last edited by tokiodrift1; 09.01.11 at 16:38.
    Reply With QuoteReply With Quote
    Thanks

  2. #2
    Moderator anon's Avatar
    Join Date
    01.02.08
    Posts
    39,804
    Activity Longevity
    11/20 19/20
    Today Posts
    1/5 ssss39804
    Try this CMD file:
    Code:
    @REM ------- BEGIN demo.cmd ----------------
    @setlocal
    @echo off
    set path="%programfiles%\WinRAR";%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 ------------------
    "I just remembered something that happened a long time ago."
    Reply With QuoteReply With Quote
    Thanks

  3. Who Said Thanks:

    Gapo (09.01.11)

  4. #3
    Advanced User
    Join Date
    30.07.09
    P2P Client
    Azureus™
    Posts
    847
    Activity Longevity
    0/20 18/20
    Today Posts
    0/5 ssssss847
    where do I have to place this code ?
    I guess in a script.bat, but how can I point commandrunner to this file?
    Last edited by tokiodrift1; 10.01.11 at 15:04.
    Reply With QuoteReply With Quote
    Thanks

  5. #4
    Moderator anon's Avatar
    Join Date
    01.02.08
    Posts
    39,804
    Activity Longevity
    11/20 19/20
    Today Posts
    1/5 ssss39804
    Save it wherever you want. For this example I'll make that D:\unrar.cmd. Then tell the Command Runner plugin to run the following program.
    Code:
    D:\unrar.cmd "%D\%F"
    "I just remembered something that happened a long time ago."
    Reply With QuoteReply With Quote
    Thanks

+ 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
  •