# How to work with paths on windows

**URL:** <https://travis-ci.community/t/how-to-work-with-paths-on-windows/10777>\
**Category:** Windows\
**Created:** [December 6, 2020, 10:29pm UTC](https://travis-ci.community/t/how-to-work-with-paths-on-windows/10777 "2020-12-06T22:29:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cryptocoinserver](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/cryptocoinserver/32/5772_2.png) [@cryptocoinserver](https://travis-ci.community/u/cryptocoinserver)\
**Post date:** [December 6, 2020, 10:29pm UTC](https://travis-ci.community/t/how-to-work-with-paths-on-windows/10777/1 "2020-12-06T22:29:15Z")

</div>

I’m trying to get cibuildwheel working on windows. Before the wheel build, I have to build a C++ library.  
Spent hours with try and error. Linux and macosx worked perfectly. Always this damn windows 😃 Can you help me navigate the path stuff?

**This is the relevant code in travis.yml:**

```auto
    - CIBW_BEFORE_BUILD_WINDOWS="powershell wget \"http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-msvc.zip\" -outfile \"$HOME\\ta-lib.zip\" && 7z x \"$HOME\\ta-lib.zip\" -o\"$HOME\\ta-lib\" && Set-Location -Path \"$HOME\\ta-lib\\c\\make\\cdr\\win32\\msvc" && nmake"

```

**The error I get:**

```auto
Error Command powershell wget "http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-msvc.zip" -outfile "/c/Users/travis\ta-lib.zip" && 7z x "/c/Users/travis\ta-lib.zip" -o"/c/Users/travis\ta-lib" && Set-Location -Path "/c/Users/travis\ta-lib\c\make\cdr\win32\msvc failed with code 1. None

The command "python -m cibuildwheel --output-dir wheelhouse" exited with 1.
cache.2

store build cache

Done. Your build exited with 1.

wget : Could not find a part of the path 'C:\c\Users\travis\ta-lib.zip'.

At line:1 char:1

+ wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-msvc.zip ...

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo : NotSpecified: (:) [Invoke-WebRequest], DirectoryNotFoundException

    + FullyQualifiedErrorId : System.IO.DirectoryNotFoundException,Microsoft.PowerShell.Commands.InvokeWebRequestComma 

   nd

gzip: warning: GZIP environment variable is deprecated; use an alias or script

```
