Hi all i recently wrote this little batch file that automatically shares all new files and folders that utorrent downloads and i thought i would share it with you.
first of all here is the little batch file:
All you need to do is go into uTorrents and navigate to the following:Code:@echo off Set Directory="utorrent Download Directory" for /f "tokens=*" %%a in ('dir /ad /s /b %Directory%') do (NET SHARE ^"%%~na^"=^"%%a^" /GRANT:Everyone,Full) for /f "tokens=*" %%c in ('dir /s /b %Directory%') do icacls ^"%%c^" /grant Everyone:f
options>preferences>Advanced>Run Program
now add the batch file to the run this program when a torrent finishes section and save.
Hope it helps
p.s. yes it isnt very efficient but i had some trouble getting the %d and %f switches in uTorrrent to work so i stuck with a plain recursive search.


Reply With Quote

Bookmarks