A newer version of Max is available. Click here to access the latest version of the documentation

absolutepath Reference

Convert a file name to an absolute path

absolutepath

Description

Converts a file name or path to an absolute path. If the file is not found, the symbol notfound is output.

Examples

Arguments

None.

Attributes

Common Box Attributes

Messages

anything

Arguments

pathname [symbol]
A file name or path as a symbol. Input pathnames can contain slashes, colons, or backslashes as separators.

types

Arguments

filetypes [list]
The types message followed by a list of four-letter filetype codes will designate the types of files which absolutepath can recognize.

Output

any symbol

If the incoming file name or path is found, the output is an absolute path. The output pathnames contain slash separators.

Absolute pathnames look like this:

"C:/Max Folder/extras/mystuff/mypatch.pat"

See Also

Name Description
conformpath
opendialog
relativepath
savedialog
strippath
File Preferences File Preferences