Clean-Up+utility

RB saves rendered images in public/images folder, which can rapidly fill up with unwanted files.
This small utility enables a quick clean-up (deletion of files) of the images folder. Add to or modify as you wish. code format="html4strict" cssclass "input.text", "{background-color:lightgreen;width:20px;font-size:12pt;}" cssclass "input.submit", "{background:transparent; background-image:url('http://runbasic.wikispaces.com/space/showimage/buttonOK.jpg'); background-position:-2px -2px;height:25px;width:50px;text-indent:50px; padding-left:50px;background-repeat:none;margin-left:5px}" cssid #main, "{width:600px;margin:auto;margin-top:50px;padding-top:20px; padding-bottom:50px;background-color:#FCFCCD;border-style:inset;border-width:5px}" cssid #header, "{text-align:center;font-size:16pt;color:red;}" cssid #resp, "{text-align:center;font-size:12pt;color:blue;}" cssid #opt, "{text-align:center;font-size:12pt;color:blue;}" ' 'some divs use html definition as a RB v1 bug workaround ' html " " div header print "Run BASIC, cleanup rendered images folder" print end div ' 'change path if RB not installed in default folder folder$="C:\rbp\public\images\" ' html " " input "Sure you want to empty "+folder$+"(Y/N)";a$ html " " div opt if upper$(left$(a$,1))="Y" then files #f, folder$+"*.*" print:print "File list, folder ";folder$ while #f hasanswer count=count+1 fileData$ = #f name$;" - ";#f date$;" - ";#f time$ print fileData$ kill folder$+#f name$ wend print print count;" files found and deleted." print "Clean-up completed" else print print "Clean-up cancelled" end if end div html " " end
 * 1) f nextfile$

code