unlink is the builtin function you want.
After Compline,Zaxo
In reply to Re: File deletion by Zaxo in thread File deletion by cored