help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

avoid interpretation of \n, \t, ... in string


From: Peter Tury
Subject: avoid interpretation of \n, \t, ... in string
Date: Tue, 27 Jan 2009 09:13:36 -0800 (PST)
User-agent: G2/1.0

Hi,

I would like to pass paths to shell (extrenal command line programs)
on MS Windows. The paths may contain \n, \t etc. (Eg. c:
\directory-1\new-dir\temp...). However, the string is "evaluated" and
only the result arrives to the shell program. (In the above example: c:
\directory-1
ew-dir  emp...)

I try to use `call-process-shell-command'.

I know I could use double back-slash (e.g. c:\directory-1\\new-dir\
\temp...), but I want to be able to handle any paths in their
"natural" form. How to do it?

Thanks,
P


reply via email to

[Prev in Thread] Current Thread [Next in Thread]