Lua
C++
Edit

RunFile

Executes a file with the default system file handler for this file type. This can be used to open an image, text file, or other known file type, or to open a URL in the default web browser.

Syntax

Parameters

Name Description
path file path to execute

Returns

Returns true if the file exists and was executed, otherwise false is returned.

Example

#include "UltraEngine.h"

using namespace UltraEngine;

int main(int argc, const char* argv[])
{
    RunFile("https://www.ultraengine.com");
    return 0;
}
Copyright © 2024 Ultra Software.
All rights reserved.