# Splitdrive under windows

**URL:** <https://discourse.julialang.org/t/splitdrive-under-windows/1083>\
**Category:** General Usage\
**Created:** [December 21, 2016, 4:46am UTC](https://discourse.julialang.org/t/splitdrive-under-windows/1083 "2016-12-21T04:46:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![augustinyiptong](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/augustinyiptong/32/1785_2.png) [@augustinyiptong](https://discourse.julialang.org/u/augustinyiptong)\
**Post date:** [December 21, 2016, 4:46am UTC](https://discourse.julialang.org/t/splitdrive-under-windows/1083/1 "2016-12-21T04:46:54Z")

</div>

Hi, i traced an issue i am having to splitdrive behaviour:

`splitdrive("\\\\servername\\hello.world\\filename.ext")`  
gives:  
`("\\\\servername\\hello",".world\\filename.ext")`

Which results in  
`normpath("\\\\servername\\hello.world\\filename.ext")`  
giving:  
`"\\\\servername\\hello\\.world\\filename.ext"`

This is causing problems reading files…

Thanks, Gus

---

<div class="post-metadata">

**Author:** ![jameson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jameson/32/23_2.png) [@jameson](https://discourse.julialang.org/u/jameson)\
**Post date:** [December 22, 2016, 9:43pm UTC](https://discourse.julialang.org/t/splitdrive-under-windows/1083/2 "2016-12-22T21:43:33Z")

</div>

Can you post this issue on Github? (or better yet, a PR to fix it 🙂). Thank you!

---

<div class="post-metadata">

**Author:** ![StefanKarpinski](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stefankarpinski/32/24_2.png) [@StefanKarpinski](https://discourse.julialang.org/u/StefanKarpinski)\
**Post date:** [January 3, 2017, 4:11pm UTC](https://discourse.julialang.org/t/splitdrive-under-windows/1083/3 "2017-01-03T16:11:10Z")

</div>

x-ref: [https://github.com/JuliaLang/julia/pull/19695](https://github.com/JuliaLang/julia/pull/19695)
