1. F A S T E R

    F A S T E R Well-Known Member

    Dec 16, 2011
    203
    I need a batch script after torrent download finished (run this program when torrent finished )

    1. Get the torrent title name (torrent name ex: abc.torrent , abc is directory name)
    2. move or copy video file abc folder in side

    thats it. can anybody give batch script?

    Thanks in advanced
     
  2. persfsom

    persfsom New Member

    Mar 24, 2017
    2
    Try this

    @Echo off
    :1
    if exist "%userprofile%\abc\abc.torrent" (
    echo The file is ready
    move "%userprofile%\abc\abc.torrent" "%userprofile%\abc2\abc.torrent"
    exit
    ) else (
    timeout /t 27
    goto :1
    )
     
  3. F A S T E R

    F A S T E R Well-Known Member

    Dec 16, 2011
    203
    every torrent file should go to same process..... abc i mean for example

    utorrent run programe (advanced) has this command please give the script with these commnads. it's very useful for me.

    You can use the following parameters:

    %F - Name of downloaded file (for single file torrents)
    %D - Directory where files are saved
    %N - Title of torrent
    %P - Previous state of torrent
    %L - Label
    %T - Tracker
    %M - Status message string (same as status column)
    %I - hex encoded info-hash
    %S - State of torrent
    %K - kind of torrent (single|multi)

    Where State is one of:

    Error - 1
    Checked - 2
    Paused - 3
    Super seeding - 4
    Seeding - 5
    Downloading - 6
    Super seed [F] - 7
    Seeding [F] - 8
    Downloading [F] - 9
    Queued seed - 10
    Finished - 11
    Queued - 12
    Stopped - 13
    Queued - 12
    Preallocating - 17
    Downloading Metadata - 18
    Connecting to Peers - 19
    Moving - 20
    Flushing - 21
    Need DHT - 22
    Finding Peers - 23
    Resolving - 24
    Writing - 25
     

Share This Page