nanos world API Reference Unofficial documentation
Static function Shared Slow

File.Remove

Deletes a folder or file

Syntax

Lua
File.Remove(path)

Parameters

Name Type Default Description
path string Path to file or folder

Returns

  • integer amount of files deleted