Skip to content

file.delete

The file.delete command can be used to delete individual files or (with wildcards) several files simultaneously.

Syntax

file.delete {File}

Example

Function ScriptBeforeUpload
{
    file.create c:\Temp\Test.bat
    {
        write.line <Batch command 1>
        write.line <Batch command 2>
        write.line <Batch command 3>
    }
    file.delete c:\Temp\Test.bat
}