AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkDirectory.DeleteFile Method

Deletes a given file from the write folder.

Syntax
Pascal
class procedure DeleteFile(const Filename: String); static;
Parameters 
Description 
const Filename: String 
the name of the file to delete. 

File paths must be relative, not absolute. You cannot delete files from the application folder or from elsewhere on the disk.

Copyright (c) 2012. All rights reserved.