Windows Auto-Del Script?

Come up with a useful post-processing script? Share it here!
Post Reply
iFly55
Newbie
Newbie
Posts: 2
Joined: February 15th, 2012, 11:27 am

Windows Auto-Del Script?

Post by iFly55 »

I'm an absolute n00b when it comes to scripting

How would i go about writing a Windows script for sabnzbd that would delete all files upon completion?
Eejit
Sr. Member
Sr. Member
Posts: 267
Joined: September 10th, 2008, 5:46 pm

Re: Windows Auto-Del Script?

Post by Eejit »

Why would you want to delete all the files you've just downloaded? Or do you mean something else?
iFly55
Newbie
Newbie
Posts: 2
Joined: February 15th, 2012, 11:27 am

Re: Windows Auto-Del Script?

Post by iFly55 »

yes, i need all the files deleted upon completion

i'm doing speed tests of large files during different periods of the day
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Windows Auto-Del Script?

Post by shypike »

Batch file, put this in a file called del_all.cmd and put in the scripts folder.

Code: Select all

del /s/q %1
Use at your own risk :)
BTW, consider skipping post-processing (so use "Download" instead of "+Delete")
so you don't measure the post-processing.
Post Reply