delFile
|
|
File
|
|
A string specifying the path and name of the file to be deleted. If the path is not specified, the default directory will be used. See setCurDir for more details.
|
|
ERR_OK
|
|
The flag set if successful.
|
|
ERR_FAILED
|
|
The flag set if failed.
|
|
ERR_NOTFOUND
|
|
The flag set if the file was not found.
|
|
ERR_BADFILE
|
|
The flag set if the file could not be deleted.
|
|
|
The specified path should comply with the standard notations for directory names in Windows operating system. When you use the optional backslash character (\) in paths, you must place two backslashes (\\) in a string to represent a single backslash (\). If the drive letter is omitted in Path, the current directory will be used as a reference.
|
|
|
delFile("test.dbs")
|