set escapes-in-filenames

This command controls the use of special characters in paths.


set escapes-in-filenames { off | on}



Specifies that a backslash in a path is treated as a directory separator (with the exception that it can be used to escape spaces). For example:

C:\test\ file.c

The first backslash is treated as a separator followed by a t, not an escape sequence representing the tab character. The second backslash escapes the space.

This is the default.


Specifies that a backslash is to be treated as part of an escape sequence to indicate that the character following is a special character. For example:


The backslash in this example is a directory separator and must be identified as a special character.


Example 104. set escapes-in-filenames

set escapes-in-filenames on      # Use backslash as an escape character in paths

Show/hideSee also

Copyright © 2010-2012 ARM. All rights reserved.ARM DUI 0452J