cFile=" file with two spaces in front.txt" CLEAR =STRTOFILE("just testing", cFile) ?"created, exists?",FILE(cfile) ERASE (cFile) ?"erased (cFile), still exists?",FILE(cfile) =STRTOFILE("just testing", cFile) ?"created, exists?",FILE(cfile) ERASE "&cFile" ?"erased '&cFile', still exists?",FILE(cfile)Here it just does it right - I'm getting
created, exists? .T. erased (cFile), still exists? .F. created, exists? .T. erased ' file with two spaces in front.txt', still exists? .F.Tested in VFP7 on W2000 SP1 WS.