comint-substitute-in-file-name
comint-substitute-in-file-name is a compiled Lisp function in `comint.el
'.
(comint-substitute-in-file-name FILENAME)
Return FILENAME with environment variables substituted.
Supports additional environment variable syntax of the command
interpreter (e.g., the percent notation of cmd.exe on Windows).