Home / Lua Scripts Libraries API Manual / dtutils.file / set_executable_path_preference
< sanitize_filename
split_filepath >

# set_executable_path_preference

## 🔗NAME

set_executable_path_preference

## 🔗SYNOPSIS

set a preference for the path to an executable

## 🔗USAGE

    local df = require "lib/dtutils.file"
    df.set_executable_path_preference(executable, path)

executable - string - the name of the executable to set the path for
path - string - the path to the binary

## 🔗DESCRIPTION

set_executable_path_preference takes an executable name and path to the executable and registers the preference for later use.

< sanitize_filename
split_filepath >