Page 1 of 1

Windows Auto-Del Script?

Posted: February 15th, 2012, 11:28 am
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?

Re: Windows Auto-Del Script?

Posted: February 15th, 2012, 1:08 pm
by Eejit
Why would you want to delete all the files you've just downloaded? Or do you mean something else?

Re: Windows Auto-Del Script?

Posted: February 15th, 2012, 1:41 pm
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

Re: Windows Auto-Del Script?

Posted: February 15th, 2012, 2:00 pm
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.