Core Function FileDelete

From Sputnik Wiki
Jump to: navigation, search
FileDelete( <file> )

Contents

Description

Delete a file.

Parameters

file

The file to delete.

Return Value

Success: Returns 1.

Failure: Returns 0 if error occurs.

Remarks

None.

Example

FileCopy("Sputnik.exe", "Cats.exe");
sleep(5000); // Enough time to check the file exists
FileDelete("Cats.exe");
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox