# Fail to launch FiberTractMeasurements CLI module on Windows

**URL:** <https://discourse.slicer.org/t/fail-to-launch-fibertractmeasurements-cli-module-on-windows/30708>\
**Category:** Support\
**Tags:** diffusion\
**Created:** [July 20, 2023, 4:31pm UTC](https://discourse.slicer.org/t/fail-to-launch-fibertractmeasurements-cli-module-on-windows/30708 "2023-07-20T16:31:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kening\_Zhang](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/kening_zhang/32/65641_2.png) [@Kening\_Zhang](https://discourse.slicer.org/u/Kening_Zhang)\
**Post date:** [July 20, 2023, 4:31pm UTC](https://discourse.slicer.org/t/fail-to-launch-fibertractmeasurements-cli-module-on-windows/30708/1 "2023-07-20T16:31:08Z")

</div>

Dear developers,

 ![img_v2_32bf3ef9-97e1-497a-8291-12cfe06d9d1g](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/5/0/501506ce385e20737726183397ee96f1c778dec2.jpeg)  
When I type this command to use cli FiberTractMeasurements on my windows computer, some errors jumped, which says, can’t find xxx.dll, and cannot run the code, reinstalling the program may resolve this issue.  
 ![img_v2_7ad83fed-1d3e-4a71-8e65-c1d96ef175bg](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/e/f/efbba16ee446842e031e5c20850c579684d932c6.jpeg)  
 ![img_v2_5f8d95e1-726f-456d-9931-fc75e5216bdg](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/8/6/86647a4fe704dcae5ceb4384ae0f172ee9ec329a.jpeg)  
However, this problem only appears on my windows computer, my macbook never go wrong results, how can I sovle it on windows?  
Warmest regards,  
Joshua

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [July 20, 2023, 4:54pm UTC](https://discourse.slicer.org/t/fail-to-launch-fibertractmeasurements-cli-module-on-windows/30708/2 "2023-07-20T16:54:58Z")

</div>

The answer is probably similar to this post:

> [@How to perform the UKFTractography via command line on ubuntu 20.04?](https://discourse.slicer.org/t/i-want-to-perform-the-ukftractography-singlely-on-command-line-in-my-ubuntu-20-04-how-could-i-do/30657/2):
>
> I want to use the UKFTractography singlely in order to use batch process on my data for tractography. when I make the code UKFTractography from github,I met the problem. I use the correct command from author. fatal: not a git repository (or any of the parent directories): .git make[5]: \*\*\* [ukf/CMakeFiles/\_GEN\_GITVER.dir/build.make:60: ukf/CMakeFiles/GEN make[4]: \*\*\* [CMakeFiles/Makefile2:1043: ukf/CMakeFiles/\_GEN\_GITVER.dir/all] Err make[3]: \*\*\* [Makefile:141: all] Error 2 make[2]: \*\*\* […

On windows you provide the full path to Slicer.exe with the --launch argument to run the CLI executable.

---

<div class="post-metadata">

**Author:** ![Kening\_Zhang](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/kening_zhang/32/65641_2.png) [@Kening\_Zhang](https://discourse.slicer.org/u/Kening_Zhang)\
**Post date:** [July 21, 2023, 6:00am UTC](https://discourse.slicer.org/t/fail-to-launch-fibertractmeasurements-cli-module-on-windows/30708/3 "2023-07-21T06:00:49Z")

</div>

![20230721-135924](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/0/b/0be1b4be941a9c43204aaa6694c6a3f1ae34f821.jpeg)  
It seems like I use the wrong command.

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [July 21, 2023, 2:58pm UTC](https://discourse.slicer.org/t/fail-to-launch-fibertractmeasurements-cli-module-on-windows/30708/4 "2023-07-21T14:58:30Z")

</div>

I believe you need to put the full string with `\path\to\Slicer.exe --launch ... FiberTractMeasurements.exe` inside a single set of quotes.
