Multiuser Lingo Dictionary > Multiuser Lingo Dictionary > deleteFolder() |  |

deleteFolder()

Syntax

    file("whichFolder").deleteFolder()

Description

Multiuser Server server-side function; deletes the specified folder. The folder must be empty before being deleted. Use the `delete() (file)` function to remove the contents of a folder. The function returns a nonzero error code if it fails.

Example

This server-side statement deletes the Images folder from the server computer:

    file("C:\Images").deleteFolder()

See also

`delete() (file)`