Most likely an error in the Path$ or Filename$.
Just created a folder with 'test.bb' and 'deleteme.txt' files in it.
test.bb:
Worked fine (didn't bother with error trapping because I knew for a fact that the file was there).
Try putting Path$+Filename$ into debuglog and see what it says...
Just created a folder with 'test.bb' and 'deleteme.txt' files in it.
test.bb:
DeleteFile "deleteme.txt"
Worked fine (didn't bother with error trapping because I knew for a fact that the file was there).
Try putting Path$+Filename$ into debuglog and see what it says...