Ok I dont have a solution for you but maybe this will be a step in the right direction.
I just made a script that checks the size of a file (not a folder sadly) then deletes it if its over 10kb.
call :trash c:\test.txt
if %~z1 GEQ 10000 del c:\test.txt
That probably doesn't help i guess