Close

Results 1 to 6 of 6
  1. #1
    DF Super Moderator
    DejaVu's Avatar
    Join Date
    Nov 2005
    Location
    Essex
    Posts
    8,830
    Thanks
    1,702
    Thanked:        3,807
    Karma Level
    922

    Default uTorrent "Run Program" batch file

    I would like to a batch file that runs when a file completes - "Run the program when a torrent finishes:" in uTorrent to extract any compressed files that are marked by a specific label in uTorrent into a specified folder, but I am useless at Batch files.

    Example -

    If the label is "This Label" look for a RAR or ZIP file, if exists, extract to "C:\This Folder". If there is no Compressed files. Do nothing.
    & If the label is "That Label" look for a RAR or ZIP file, if it exists extract to "C:\That Folder". If there is no Compressed files. Do nothing.

    At the moment, I'm using
    Code:
    "c:\program files\winrar\winrar.exe" x -ibck "%D*.r*" "%D"


    All this does though, is extract the files after completion. It looks in there, extracts the files to the same folder and if it finds nothing to extract, it throws and error saying so.
    Annoying when your downloads are automated and you come back to find loads of errors to clear on the screen.

    Is anyone able to assist?

    Plex Server: AMD-FX8350 | 32GB RAM | Windows 10 | 12TB 8TB 4TB (Uh Oh!)

  2. #2
    DF PlaYa Nathz29's Avatar
    Join Date
    Feb 2008
    Location
    Manchester
    Posts
    749
    Thanks
    122
    Thanked:        77
    Karma Level
    146

    Default Re: uTorrent "Run Program" batch file

    I used to use auto unrar years ago, that did something similar if I remember correctly. Rarely download now though.

    Sent from my Moto G (4) using Tapatalk

  3. #3
    DF Jedi CominAtcha's Avatar
    Join Date
    Jan 2003
    Location
    Nowhere
    Posts
    3,136
    Thanks
    64
    Thanked:        106
    Karma Level
    386

    Default Re: uTorrent "Run Program" batch file

    [Only registered and activated users can see links. ]

    Using uTorrent advanced preference of "Run this program when a torrent changes state", this tool will scan the folder for archives extract them when download completed and clean up the archive files after the seeding completed.
    Any use?

  4. #4
    DF Jedi piggzy's Avatar
    Join Date
    Jul 2014
    Location
    UK
    Posts
    2,009
    Thanks
    1,536
    Thanked:        797
    Karma Level
    165

    Default Re: uTorrent "Run Program" batch file

    Am I misunderstanding you here but in uTorrent preferences / advanced / run program it has the option right there !!!!!!

  5. #5
    DF Jedi piggzy's Avatar
    Join Date
    Jul 2014
    Location
    UK
    Posts
    2,009
    Thanks
    1,536
    Thanked:        797
    Karma Level
    165

    Default Re: uTorrent "Run Program" batch file

    Quote Originally Posted by piggzy View Post
    Am I misunderstanding you here
    Yes I did

  6. #6
    DF Jedi akimba's Avatar
    Join Date
    Jun 2006
    Location
    UK
    Posts
    2,596
    Thanks
    853
    Thanked:        686
    Karma Level
    269

    Default Re: uTorrent "Run Program" batch file

    Deluge has a plugin to auto extract files after completion, might be worth ditching uTorrent and coming over to the dark side ;-)

Social Networking Bookmarks

Posting Permissions

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