# Way to open up a folder window for a cd command?

**URL:** https://discourse.julialang.org/t/way-to-open-up-a-folder-window-for-a-cd-command/28499
**Category:** New to Julia
**Created:** [September 7, 2019, 1:27pm UTC](https://discourse.julialang.org/t/way-to-open-up-a-folder-window-for-a-cd-command/28499 "2019-09-07T13:27:33Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![pdeffebach](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pdeffebach/32/10320_2.png) [@pdeffebach](https://discourse.julialang.org/u/pdeffebach)
#### Post date: [September 7, 2019, 1:27pm UTC](https://discourse.julialang.org/t/way-to-open-up-a-folder-window-for-a-cd-command/28499/1 "2019-09-07T13:27:33Z")

</div>

If I am running a short script (no modules) and I want to be in a particular directory for running that script, I usually `cd` into the directory when I start working. I use `iterm` on mac for my Julia coding right now.

Is there a way that I can open up a folder window to navigate to the preferred folder instead of typing out tons of `cd` commands? From the command line, without using Juno.

---

<div class="post-metadata">

### Author: ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)
#### Post date: [September 7, 2019, 4:43pm UTC](https://discourse.julialang.org/t/way-to-open-up-a-folder-window-for-a-cd-command/28499/2 "2019-09-07T16:43:22Z")

</div>

This may be a solution:  
[https://discourse.julialang.org/t/choose-a-file-interactively/](https://discourse.julialang.org/t/choose-a-file-interactively/)

```julia
dir = open_dialog("Select Folder", action=GtkFileChooserAction.SELECT_FOLDER)

```

from here:  
[https://github.com/JuliaGraphics/Gtk.jl](https://github.com/JuliaGraphics/Gtk.jl)

I don’t know if this works for macs.

---

<div class="post-metadata">

### Author: ![Tero\_Frondelius](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tero_frondelius/32/7629_2.png) [@Tero\_Frondelius](https://discourse.julialang.org/u/Tero_Frondelius)
#### Post date: [September 8, 2019, 6:27am UTC](https://discourse.julialang.org/t/way-to-open-up-a-folder-window-for-a-cd-command/28499/3 "2019-09-08T06:27:57Z")

</div>

Copy-paste the full path to one command:

```julia
cd(raw"absolut/path/to/your/folder/here")

```

And next time after starting Julia REPL again type c and press arrow up as many times as you will find your previous `cd` command. Note the `raw` is especially useful in Windows because it lets you use the native Windows style path with backsplash characters.
