Close

Results 1 to 6 of 6
  1. #1
    DF Super Moderator
    DejaVu's Avatar
    Join Date
    Nov 2005
    Location
    Essex
    Posts
    8,960
    Thanks
    1,756
    Thanked:        3,892
    Karma Level
    937

    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?


  2. #2
    DF PlaYa Nathz29's Avatar
    Join Date
    Feb 2008
    Location
    Manchester
    Posts
    759
    Thanks
    123
    Thanked:        84
    Karma Level
    154

    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,177
    Thanks
    67
    Thanked:        120
    Karma Level
    395

    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 Moderator piggzy's Avatar
    Join Date
    Jul 2014
    Location
    UK
    Posts
    2,576
    Thanks
    2,230
    Thanked:        1,104
    Karma Level
    209

    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 Moderator piggzy's Avatar
    Join Date
    Jul 2014
    Location
    UK
    Posts
    2,576
    Thanks
    2,230
    Thanked:        1,104
    Karma Level
    209

    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,706
    Thanks
    925
    Thanked:        723
    Karma Level
    282

    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
  •