Hi Guys,
I am having trouble deleting files with DELETE FILE when the file and path has spaces in it.
Does not remove the file.
Any help is greatly appreciated.
TIA,
Weedz (Edward W.F. Veld)
My private project:Download the CrownBase source code !!
I am having trouble deleting files with DELETE FILE when the file and path has spaces in it.
Code:
lcFile = "C:\Document and setting\MyXMLFile.xml"
lnFileHandle = FOPEN(lcFile)
IF lnFileHandle > 0
FCLOSE(lnFileHandle)
DELETE FILE lcFile
(or DELETE FILE &lcFile)
ENDIF
Any help is greatly appreciated.
TIA,
Weedz (Edward W.F. Veld)
My private project:Download the CrownBase source code !!