# Adding local package results in malformed path (Windows)

**URL:** <https://discourse.julialang.org/t/adding-local-package-results-in-malformed-path-windows/56338>\
**Category:** General Usage\
**Created:** [March 2, 2021, 2:55pm UTC](https://discourse.julialang.org/t/adding-local-package-results-in-malformed-path-windows/56338 "2021-03-02T14:55:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![eschoute](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/eschoute/32/8298_2.png) [@eschoute](https://discourse.julialang.org/u/eschoute)\
**Post date:** [March 2, 2021, 2:55pm UTC](https://discourse.julialang.org/t/adding-local-package-results-in-malformed-path-windows/56338/1 "2021-03-02T14:55:17Z")

</div>

On Windows, I think there is a bug with the location of say “Documents” on a different partition. I moved my Documents folder to a different partition. Steps to reproduce:

1. Cd to `E:\Documents`
2. Make a package `foo` (`>]generate foo`)
3. Cd `foo`
4. `>]dev .`

Gives an error

```julia
(@v1.5) pkg> dev .
[ Info: Resolving package identifier `.` as a directory at `E:\Documents\foo\`.
Path `.` exists and looks like the correct package. Using existing path.
  Resolving package versions...
ERROR: expected package `foo [ec961404]` to exist at path `C:\E:\Documents\foo`

```

In particular, it seems like it tries the `C:` drive whereas Documents is located on `E:`. Is this a bug or am I doing something wrong? Explicitly specifiying the full path does work.

---

<div class="post-metadata">

**Author:** ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Post date:** [March 2, 2021, 6:55pm UTC](https://discourse.julialang.org/t/adding-local-package-results-in-malformed-path-windows/56338/2 "2021-03-02T18:55:10Z")

</div>

I think it should be fixed on the upcoming 1.6. There was a problem with relative paths including the drive letter on Windows earlier.

---

<div class="post-metadata">

**Author:** ![eschoute](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/eschoute/32/8298_2.png) [@eschoute](https://discourse.julialang.org/u/eschoute)\
**Post date:** [March 2, 2021, 8:29pm UTC](https://discourse.julialang.org/t/adding-local-package-results-in-malformed-path-windows/56338/3 "2021-03-02T20:29:51Z")

</div>

Thanks, I’ll get back to you if the problem persists in 1.6
