# :SYSTem:MPButton:QSETup:FNAMe

Multi-Purpose Commands

- :SYSTem Multi-Purpose Button Commands
- :SYSTem:MPButton:DOCWizard:BFName
- :SYSTem:MPButton:FUNCtion
- :SYSTem:MPButton:QSETup:FNAMe
- :SYSTem:MPButton:QSPBack:FNAMe
- :SYSTem:MPButton:SIMage:BFName
- :SYSTem:MPButton:SIMage:FTYPe?
- :SYSTem:MPButton:SIMage:IMETadata
- :SYSTem:MPButton:SIMage:INVert
- :SYSTem:MPButton:SIMage:MONochrome
- :SYSTem:MPButton:SIMage:SAVE

## Command Syntax

    :SYSTem:MPButton:QSETup:FNAMe "<path substitution string>\subfolder\filename"

Where:

- "<path substitution string> is a string that expands into a specific file path. For example, %USER_DATA_DIR%.
- "subfolder" is an optional path folder. For example, %USER_DATA_DIR%\Setups.
- "filename" is a string without the filename extension.

## Query Syntax

    :SYSTem:MPButton:QSETup:FNAMe?

## Description

When the Multi-Purpose button is configured to load a setup file (.seti), this command identifies the path and name of the file. To configure the Multi-Purpose button to load an instrument setup file, use the `:SYSTem:MPButton:FUNCtion` command.

### Default User Folder

The default folder for storing setup files is in `%USER_DATA_DIR%\Setups` as shown in this picture. It is good practice to include a path substitution string with the filename. For example, `%USER_DATA_DIR%\Setups\filename`.

File names must include a path when using the child `:FNAMe` command. The `:FNAMe` command is not affected by a Default Setup or Factory Default.

Specifying a path using a path substitution string in the filename ensures that the file will be saved in (or loaded from) the standard user-data folder. Failure to use a path substitution string may result either in a file created in an parent folder or a file error.

## Example Command Sequence

    :SYSTem:MPButton:QSETup:FNAMe "%USER_DATA_DIR%\Setups\EyeModeSetup"
    :SYSTem:MPButton:FUNCtion LSETup