Moo_FileDelete  -  Delete a file.

Moo_FileDelete ( sFile );

This functions lets you delete a file.

Parameters

NameTypeRequiredDefaultDescription
sFileStringYes The input file to be deleted.

Return Value

Returns either a boolean value of true if the file was deleted, or an error code.

Errors

Error CodeDescription
Moo_FileDelete|Err_1Invalid number of arguments.
Moo_FileDelete|Err_2Invalid source file input.
Moo_FileDelete|Err_3Error deleting file.
Moo_FileDelete|Err_4Source file doesn't exist.

Related Functions