Windows.File.Delete
static function Delete(path: string): void;
Parameters

path The name of the file to be deleted.
Description

Deletes the specified file.