Multiuser Lingo Dictionary > Multiuser Lingo Dictionary > delete() (file) |  |

delete() (file)

Syntax

    file("whichFile").delete()

Description

Multiuser Server server-side function; deletes the specified file. The function returns a nonzero error code if it fails.

Example

This server-side statement deletes the file Sunset.jpg from the server computer:

    file("C:\Images\sunset.jpg").delete()

See also

`deleteFolder()`