RecycleFile

Description:

baRecycleFile places a file in the recycle bin.

Platforms:

Windows

Usage:

Result = baRecycleFile( FileName )

Arguments:

String.
FileName is the file to recycle.

Returns:

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

Examples:

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

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

See also:

baDeleteFile