Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- REM Fluxflashor's uTorrent Video Mover
- REM Set the variables for the logfile, the completed torrent directory and the homegroup share folder
- SET logfile=C:\batch\logs\video_mover.log
- SET cdvidfolder=C:\Users\Robert\Torrents\Completed\
- SET hgvidfolder=C:\Users\Robert\Videos\
- ECHO [%Date%] %Time%: video_mover is running. >> %logfile%
- FOR /R "%cdvidfolder%" %%g IN (*.avi *.mkv) DO (
- ECHO [%Date%] %Time%: Moving file %%~nxg >> %logfile%
- MOVE "%cdvidfolder%%%~nxg" %hgvidfolder%
- )
- ECHO [%Date%] %Time%: video_mover is terminating. >> %logfile%
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement