Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. REM Fluxflashor's uTorrent Video Mover
  2. REM Set the variables for the logfile, the completed torrent directory and the homegroup share folder
  3. SET logfile=C:\batch\logs\video_mover.log
  4. SET cdvidfolder=C:\Users\Robert\Torrents\Completed\
  5. SET hgvidfolder=C:\Users\Robert\Videos\
  6.  
  7. ECHO [%Date%] %Time%: video_mover is running.  >> %logfile%
  8.  
  9. FOR /R "%cdvidfolder%"  %%g IN (*.avi *.mkv) DO (
  10. ECHO [%Date%] %Time%: Moving file %%~nxg >> %logfile%
  11. MOVE "%cdvidfolder%%%~nxg" %hgvidfolder%
  12. )
  13.  
  14. ECHO [%Date%] %Time%: video_mover is terminating. >> %logfile%
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement