Category

Filesystem

Read, write, and manage files and folders.

Category guide

Overview

Use this overview to understand the category before opening a specific function.
  • See what this group of functions is meant to solve.
  • Compare function names and descriptions in one table.
  • Open a function for syntax, arguments, returns, and examples.

Filesystem

Available functions

15 functions
FunctionDescription
appendfileAppends content to a workspace file without replacing the existing contents.
delfileDeletes a file from the executor workspace.
delfolderDeletes a folder from the executor workspace.
getcustomassetRegisters a workspace file as a custom asset and returns an asset URL usable by Roblox APIs.
isfileChecks whether a workspace path exists and points to a file.
isfolderChecks whether a workspace path exists and points to a folder.
listfilesLists files and folders inside a workspace directory.
loadfileLoads a workspace Luau file as a function without executing it immediately.
makefolderCreates a folder inside the executor workspace.
openfiledialogOpens a native file picker and returns the selected file metadata.
openfilesdialogOpens a native file picker that can return multiple selected files.
openfolderdialogOpens a native folder picker and returns the selected folder metadata.
readfileReads the full contents of a file from the executor workspace.
savefiledialogOpens a native save dialog and writes the provided content when the user chooses a path.
writefileWrites content to a workspace file, replacing the file if it already exists.