Equinox Online Help - Language Reference - A to Z
FileDelete |
|
|---|---|
| Applies to | ![]() |
| Syntax | FileDelete FileSpecExpression |
| Action | [Statement] Deletes a file. |
| Scope | Usable anywhere |
| Notes | This statement deletes a file with the name and path (in MSDOS format) specified by FileSpecExpression. The system workarea SysError is set to a non-zero value if an error occurs, otherwise zero. |
| Category | File Management |
| See Also | ChooseFile, FileDelete, FileDetails, FileExists, FileHandle, FilePath, FileRename, FileSearch, FileSearchNext, MakeDirectory, RemoveDirectory |
| Example | This line deletes a file on the C: drive. FileDelete "C:\TESTDIR\MYFILE.DAT" |
