Lua
C++
Edit

OpenDir

This function opens a folder in the default system file browser. If a file name is specified, the folder will be opened with that file selected.

Syntax

Parameters

Name Description
path folder or file path to show

Returns

Returns true if the directory was opened successfully, otherwise false is returned.

Example

#include "UltraEngine.h"

using namespace Leadwerks;

int main(int argc, const char* argv[])
{
    OpenDir(CurrentDir());
    return 0;
}
Copyright © 2006-2025 Leadwerks Software.
All rights reserved.
Leadwerks 4 Documentation