# How to configure Julia to recognize Backslash: \\

**URL:** <https://discourse.julialang.org/t/how-to-configure-julia-to-recognize-backslash/18410>\
**Category:** New to Julia\
**Created:** [December 7, 2018, 7:17am UTC](https://discourse.julialang.org/t/how-to-configure-julia-to-recognize-backslash/18410 "2018-12-07T07:17:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![HerAdri](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/heradri/32/5816_2.png) [@HerAdri](https://discourse.julialang.org/u/HerAdri)\
**Post date:** [December 7, 2018, 7:17am UTC](https://discourse.julialang.org/t/how-to-configure-julia-to-recognize-backslash/18410/1 "2018-12-07T07:17:40Z")

</div>

How to configure Julia to recognize Backslash: \ in Path commands  
Every one that I use:

`notebook (dir = "Path")`

I must edit the Path

> from “C: \ Users \ … \ Documents \ Julia Software \ …”  
> to “C: / Users /…/ Documents / Julia software / …”

so that the command is executed correctly

---

<div class="post-metadata">

**Author:** ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)\
**Post date:** [December 7, 2018, 7:21am UTC](https://discourse.julialang.org/t/how-to-configure-julia-to-recognize-backslash/18410/2 "2018-12-07T07:21:14Z")

</div>

You just need to escape the backslash ([Escape character - Wikipedia](https://en.wikipedia.org/wiki/Escape_character)):

```julia
"C:\\Users\\...\\Documents\\Julia Software\\..."

```

---

<div class="post-metadata">

**Author:** ![uwechsler](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/uwechsler/32/5223_2.png) [@uwechsler](https://discourse.julialang.org/u/uwechsler)\
**Post date:** [December 7, 2018, 7:59am UTC](https://discourse.julialang.org/t/how-to-configure-julia-to-recognize-backslash/18410/3 "2018-12-07T07:59:04Z")

</div>

You could also use raw-Strings, which will escape the backslashes automatically.

```julia
julia> raw"C:\Users\...\Documents\Julia Software\..."
"C:\\Users\\...\\Documents\\Julia Software\\..."

```
