# Syntax A variable is defined and assigned a value in one combined statement using the syntax: ``` local define NAME "VALUE" ``` The value may refer to other variables using the `${NAME}` notation. # Examples Define a variable `ROOT_PATH` with the name of a folder: ``` local define ROOT_PATH "c:\temp\step2\step3" ``` Define a variable `OUT_FILE_NAME_PATH` using a previously defined variable value with the `${NAME}` notation: ``` local define OUT_PATH "c:\temp" local define OUT_FILE_NAME_PATH "${OUT_PATH}\my-file.txt" ```