 |
DeleteFile Add comment W32 Constants Translate this page |
 |
 |
|
The DeleteFile function deletes an existing file |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
BOOL DeleteFile(
LPCTSTR lpFileName // file name
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER DeleteFile IN kernel32;
STRING lpFileName
|
 |
 |
 |
| Parameters: |
 |
lpFileName
[in] Pointer to a null-terminated string that specifies the file to be deleted |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is nonzero |
 |
 |
| Usage: |
 |
= DeleteFile( m.cFilename )
|
 |
 |
| My comment: |
 |
| See also: RemoveDirectory, SHFileOperation, DeleteFileTransacted |
 |
 |
| Word Index links for the DeleteFile : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-07-12 12:00:00 | | Modified: | 2010-05-24 12:16:03 | Visited in last 7 days: 28 |