# Get user to input path, with tab completion

**URL:** <https://discourse.julialang.org/t/get-user-to-input-path-with-tab-completion/103399>\
**Category:** General Usage\
**Created:** [August 31, 2023, 10:14am UTC](https://discourse.julialang.org/t/get-user-to-input-path-with-tab-completion/103399 "2023-08-31T10:14:05Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Palli](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/palli/32/3380_2.png) [@Palli](https://discourse.julialang.org/u/Palli)\
**Post date:** [August 31, 2023, 10:55am UTC](https://discourse.julialang.org/t/get-user-to-input-path-with-tab-completion/103399/6 "2023-08-31T10:55:15Z")

</div>

Maybe helpful for you there (under 90 lines, but only for Windows? Or at least for PowerShell, that is now available elsewhere, at least Linux too):

> [@\`file.choose()\` in \`Julia\`?](https://discourse.julialang.org/t/file-choose-in-julia/69703/9):
>
> I wrote [this](https://gist.github.com/jordancluts/31bd407f3f85a3557d9308313758625e) monstrosity a few years ago for my use on Windows. It shells out to PowerShell to create a file dialog then parses the results. Needed a tweak to get the uigetfile function working again (I’m using PS7 compared to PS5 when I wrote it) the others would probably need tweaks too. Obviously ugly and could be done better (I’m a much better Julia programmer now) but does get the job done (on Windows). I wonder how hard it’d be to whip up a package, atleast for a specific OS. I haven’t us…

[For you it may help, but I would like all code to be cross-platform, and if you or Julia users distributing code, to not do Windows-only code…]

> [@user664303](#):
>
> I was using [NativeFileDialog](https://github.com/JuliaGraphics/NativeFileDialog.jl), but it pulls in so many dependencies I’d like to avoid it.

I’m confused, it seems to have very few, the main one “A tiny, neat C library” [GitHub - mlabbe/nativefiledialog: A tiny, neat C library that portably invokes native file open and save dialogs.](https://github.com/mlabbe/nativefiledialog)

---

_[View the full topic](https://discourse.julialang.org/t/get-user-to-input-path-with-tab-completion/103399)._
