Jump to content

Timing problem with Utorrent run program command


keanu_plaid

Recommended Posts

I currently have utorrent configured to run a bat file when a program finishes downloading. It downloads the file to the download folder then moves it to the appropriate label folder.

The problem I am having is that the batch file is running before the file has moved from the download folder to the labeled folder. Which means that the file won't be transferred until the next file is finished downloading. How can I fix this timing?

Here is the Utorrent set to run when the program finishes:

"C:\Users\main\Downloads\copyshows2.bat"

Here is the batch file:

@ECHO OFF

ECHO.

ECHO ______________________________________________________________________

ECHO.

ECHO Process Started: %date% %time%

ECHO.

Echo Executing 'ROBOCOPY' -- Preparing completed items for processing...

ROBOCOPY C:tvshows c:rename /NP /M /S /Z /LOG+:C:\Users\main\Downloads\BatchesRename_series.log

ECHO.

ECHO **ROBOCOPY Process Complete!

ECHO.

CHOICE /D:A /C:AB /T:30 > NUL

ECHO Executing 'theRenamer' -- Processing media files...

C:\theRenamer\theRenamer.exe -fetch

ECHO.

ECHO **theRenamer Process Complete!

ECHO.

ECHO Process Completed: %date% %time%

ECHO ______________________________________________________________________

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...