This code snippet:
openfile "SubDiv " + pattern(I,"##")
window FileName1 + " removed"
importdatabase "SubDiv " + pattern(I,"##")
fileerase "SubDiv " + pattern(I,"##") + ".pandb"
removes the deleted file names from the directory but the files are visible and open with the name id followed by " - Locked". I can close each one and it disappears.
What’s happening?