# How can I access my \\\\wsl$\\Ubuntu files with joinpath() in pluto notebooks?

**URL:** https://discourse.julialang.org/t/how-can-i-access-my-wsl-ubuntu-files-with-joinpath-in-pluto-notebooks/121861
**Category:** New to Julia
**Tags:** question, wsl2, pluto, ubuntu, notebooks
**Created:** [October 28, 2024, 9:54am UTC](https://discourse.julialang.org/t/how-can-i-access-my-wsl-ubuntu-files-with-joinpath-in-pluto-notebooks/121861 "2024-10-28T09:54:12Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![selinguler94](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/selinguler94/32/212737_2.png) [@selinguler94](https://discourse.julialang.org/u/selinguler94)
#### Post date: [October 28, 2024, 9:54am UTC](https://discourse.julialang.org/t/how-can-i-access-my-wsl-ubuntu-files-with-joinpath-in-pluto-notebooks/121861/1 "2024-10-28T09:54:12Z")

</div>

I want to access my files from wsl ubuntu but this format of code has syntax error only resolved by removing “$”, but that probably would cause Windows to fail accessing to my Ubuntu files.

HOME = joinpath(ENV[“HOME”], “//wsl$/Ubuntu/home/…”);

Can it be resolved by installing julia to my wsl ubuntu? Or is it possible to access wsl files from Windows with joinpath somehow I couldn’t manage to find.

Thanks in advance.

---

<div class="post-metadata">

### Author: ![cwittens](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cwittens/32/213036_2.png) [@cwittens](https://discourse.julialang.org/u/cwittens)
#### Post date: [October 30, 2024, 2:01pm UTC](https://discourse.julialang.org/t/how-can-i-access-my-wsl-ubuntu-files-with-joinpath-in-pluto-notebooks/121861/2 "2024-10-30T14:01:27Z")

</div>

when using a _raw_ string, you dont get probelms with “$” anymore.

```julia
julia> HOME = joinpath("//wsl$/Ubuntu/home")
ERROR: ParseError:
# Error @ REPL[34]:1:24
HOME = joinpath("//wsl$/Ubuntu/home")
# └ ── identifier or parenthesized expression expected after $ in string
Stacktrace:
 [1] top-level scope
   @ none:1

julia> HOME = joinpath(raw"//wsl$/Ubuntu/home")
"//wsl\$/Ubuntu/home"

```

---

<div class="post-metadata">

### Author: ![stevengj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevengj/32/71_2.png) [@stevengj](https://discourse.julialang.org/u/stevengj)
#### Post date: [February 28, 2025, 11:57am UTC](https://discourse.julialang.org/t/how-can-i-access-my-wsl-ubuntu-files-with-joinpath-in-pluto-notebooks/121861/4 "2025-02-28T11:57:56Z")

</div>

> [@cwittens](#):
>
> when using a _raw_ string, you dont get probelms with “$” anymore.

Or you could escape the `$`: `"//wsl\$/Ubuntu/home"`
