Home / Lua Scripts Libraries API Manual / dtutils.system / launch_default_app
< external_command
windows_command >

# launch_default_app

## 🔗NAME

launch_default_app

## 🔗SYNOPSIS

open file in default application

## 🔗USAGE

    local dsys = require "lib/dtutils.file"
    result = dsys.launch_default_app(path)

path - string - a file path

## 🔗DESCRIPTION

launch_default_app allows opening a file in the application that is assigned as default for that filetype in the users’s system

## 🔗RETURN VALUE

result - number - the return value signalling success or failure.

< external_command
windows_command >