comint-quote-filename

comint-quote-filename is a compiled Lisp function in `comint.el'.

(comint-quote-filename FILENAME)

Return FILENAME with magic characters quoted.
Magic characters are those in `comint-file-name-quote-list'.