script to clear torrents history

Discuss and share scripts and script files...
Post Reply
kotlmg
Posts: 321
Joined: 30 Jun 2010 17:14

script to clear torrents history

Post by kotlmg »

i need small xyplorer script to delete all the files having extension .torrent
all these files are stored in the following path
C:\Users\ProfSig\AppData\Roaming\uTorrent\
i need to remove all the .torrent whose download is completed. i want this code to remove these files automatically.

is it possible?

binocular222
Posts: 1423
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Re: script to clear torrents history

Post by binocular222 »

No way XYplorer can distinguish which torrent is finnished and which is not!
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

Enternal
Posts: 1175
Joined: 10 Jan 2012 18:26

Re: script to clear torrents history

Post by Enternal »

Yeah. There is no way for XYplorer to know whether a torrent is finished or not. You can however:

Go to uTorrent Preferences > Directories. You can then change where it "Move .torrents for finished jobs to:" Now you can automatically set up a Windows task to delete those files in it. So... you don't need XYplorer for this.

kotlmg
Posts: 321
Joined: 30 Jun 2010 17:14

Re: script to clear torrents history

Post by kotlmg »

thanks

Post Reply