DeleteFile

Description:

baDeleteFile deletes a file.

Platforms:

Windows and Macintosh

Usage:

Result = baDeleteFile( FileName )

Arguments:

String.
FileName is the file to delete.

Returns:

Integer.
Returns 1 if the file was successfully deleted or doesn't exist, else 0.

Examples:

Director:
OK = baDeleteFile( "c:\data\student.bak" )

Authorware:
OK := baDeleteFile( "c:\\data\\student.bak" )
 

See also:

baDeleteXFiles
baRenameFile
baRecycleFile