The backslash is in most environments an escape character. You've basically two solutions:
- Use double backslash
\\
to represent a single backslash. - Use forward slashes
/
instead (works perfectly in all platforms, including Windows and *NIX).
I would prefer solution 2 as it works everywhere and would minimize developer confusion.
BalusC
2010-02-11 13:59:19