Hi Arcs, my original question was: >after deleting a SHP and a SHX file using the commands: > >File.Delete(def) >File.Delete(def.GetFullName.SubStitute("shp","shx").AsFilename) > >I can not delete the corresponing DBase file: > >If (File.CanDelete(def.GetFullName.SubStitute("shp", "dbf").AsFilename)) Then > File.Delete(def.GetFullName.SubStitute("shp", "dbf").AsFilename) >End > >I receive the following error msg: > >Error calling unlink for file ....... Returned error code 13. Thanks to: Greg, Günther, Sara, Patrick, Kevin, P. G. L., Christoph Farley and Subhani. Last not least to ESRI-Germany for pointing to a solution provided by ESRI online support at: http://support.esri.com/search/KbDocument.asp?dbid=12600 According to my experiences, a restart of the project might be helpful, before this solution can be applied successfully. Cheers, Uwe