# BinDeps help for windows

**URL:** <https://discourse.julialang.org/t/bindeps-help-for-windows/20886>\
**Category:** General Usage\
**Created:** [February 17, 2019, 1:20am UTC](https://discourse.julialang.org/t/bindeps-help-for-windows/20886 "2019-02-17T01:20:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chkwon](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chkwon/32/3632_2.png) [@chkwon](https://discourse.julialang.org/u/chkwon)\
**Post date:** [February 17, 2019, 1:20am UTC](https://discourse.julialang.org/t/bindeps-help-for-windows/20886/1 "2019-02-17T01:20:39Z")

</div>

To install [PATHSolver.jl](https://github.com/chkwon/PATHSolver.jl) in Windows, I used to use the following [`build.jl`](https://github.com/chkwon/PATHSolver.jl/blob/master/deps/build.jl) script:

```julia
# Windows 32/64
provides(BuildProcess,
    (@build_steps begin
        CreateDirectory(lib_dir, true)
        CreateDirectory(src_dir, true)
        @build_steps begin
            ChangeDirectory(src_dir)
            FileDownloader("https://github.com/ampl/pathlib/archive/$pathlib_v.zip", joinpath(dl_dir, "pathlib.zip"))
            FileUnpacker(joinpath(dl_dir, "pathlib.zip"), src_dir, libpath47_dll)
            `powershell -NoProfile -Command "Copy-Item -Path '$libpath47_dll' -Destination '$lib_dir' -force"`
            `powershell -NoProfile -Command "Copy-Item -Path '$libpath47_lib' -Destination '$lib_dir' -force"`
        end
        @build_steps begin
            FileDownloader("https://github.com/chkwon/PathJulia/archive/$pathjulia_v.zip", joinpath(dl_dir, "PathJulia.zip"))
            FileUnpacker(joinpath(dl_dir, "PathJulia.zip"), src_dir, libpath47julia_dll)
            `powershell -NoProfile -Command "Copy-Item -Path '$libpath47julia_dll' -Destination '$lib_dir' -force"`
        end
    end), libpath47julia, os = :Windows)

```

I need to basically move three different files (`path46.dll`, `path47.lib`, `libpath47julia.dll`) in the same directory. Those `powershell` commands have worked well with previous versions of julia, and it works well in Appveyor, but it actually does not work in my Windows machine.

How should I change the build script?

---

<div class="post-metadata">

**Author:** ![jonathanBieler](https://avatars.discourse-cdn.com/v4/letter/j/82dd89/32.png) [@jonathanBieler](https://discourse.julialang.org/u/jonathanBieler)\
**Post date:** [February 17, 2019, 7:51pm UTC](https://discourse.julialang.org/t/bindeps-help-for-windows/20886/2 "2019-02-17T19:51:20Z")

</div>

Do you get an error (you might want to check the log file) or the files are just not moved ?

---

<div class="post-metadata">

**Author:** ![chkwon](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chkwon/32/3632_2.png) [@chkwon](https://discourse.julialang.org/u/chkwon)\
**Post date:** [February 17, 2019, 10:58pm UTC](https://discourse.julialang.org/t/bindeps-help-for-windows/20886/3 "2019-02-17T22:58:37Z")

</div>

It produces an error like `cannot spawn “powers hell ... “`
