Next: , Previous: , Up: Directory and File Variables and Functions   [Index]


7.2.3.16 substitute-in-file-name

This function replaces environment variable references in filename with the environment variable values.

Sometimes, it is not desired to expand file names. In such cases, the file name can be quoted to suppress the expansion, and to handle the file name literally. Quoting happens by prefixing the file name with ‘/:’.

Function: substitute-in-file-name filename
FILENAME

a file name upon which to operate; in FILENAME, substitute environment variables

RETURN VALUE

an absolute file name