dir (Directory)

Use the directory commands to list folders and files, create folders, and delete folders within the following locations on the file system:

Note: For security and stability reasons, the media/ folder (when running a design on a Core) and design/ folder (when emulating) and their subfolders are the only locations within the file system accessible by the Lua libraries. Any path argument must begin with either media/ or design/. The dir library only creates, removes, or displays the contents of a directory. It cannot manipulate files.

Name

Arguments

Description

dir.get()

path

Specify a media/ or design/ path for listing directories and files.

dir.create()

path

Specify a media/ or design/ path and new folder name to create.

dir.remove()

path

Specify a media/ or design/ path and folder name to remove.

Software and Firmware | Resources | QSC Self Help Portal | Q-SYS Help Feedback