# How to use ~ in a Cmd

**URL:** <https://discourse.julialang.org/t/how-to-use-in-a-cmd/22844>\
**Category:** General Usage\
**Tags:** question\
**Created:** [April 6, 2019, 6:23pm UTC](https://discourse.julialang.org/t/how-to-use-in-a-cmd/22844 "2019-04-06T18:23:17Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [April 6, 2019, 6:25pm UTC](https://discourse.julialang.org/t/how-to-use-in-a-cmd/22844/2 "2019-04-06T18:25:32Z")

</div>

Call `expanduser` on the path first.

---

_[View the full topic](https://discourse.julialang.org/t/how-to-use-in-a-cmd/22844)._
