StartIntroduction
sUNC Reference
Closures
Debug
Drawing
Encoding
Environment
Filesystem
appendfiledelfiledelfoldergetcustomassetisfileisfolderlistfilesloadfilemakefolderreadfilewritefile
Instances
Metatable
Miscellaneous
Reflection
Scripts
Signals
WebSocket
Related to sUNC docsOfficial reference
Filesystem
sUNC Reference

Filesystem

Read, write and organize files in the executor workspace.

Related to sUNC documentation

This reference is based exclusively on the official sUNC documentation.

Overview

  • Filesystem APIs operate inside the executor workspace.
  • Paths are workspace-relative unless the official function page says otherwise.

Available functions

appendfileAppends text to a file and creates it when absent.delfileDeletes an existing file.delfolderDeletes an existing folder.getcustomassetExposes a local file to Roblox content APIs.isfileChecks whether a path exists and is a file.isfolderChecks whether a path exists and is a folder.listfilesLists files and folders in a directory.loadfileCompiles a file into a function running in the global environment.makefolderCreates a folder when absent.readfileReads an entire file.writefileWrites string data and overwrites an existing file.
PreviousTableFilterOptionsNextappendfile
On this pagesUNC sourceOverviewAvailable functions