:foreach i in=[/file find] do={:if ([:typeof [:find [/file get $i name] “.rsc”]]!=“nil”) do={/file remove $i}}
:foreach i in=[/file find] do={:if ([:typeof [:find [/file get $i name] “.backup”]]!=“nil”) do={/file remove $i}}
this script remove all rsc and backup files in Mt 3.x. Working nice.
But, in 4.x remove only .rsc, and the .backups are left over.
Any idea, how can i fix it?