# DWIConvert usage

**URL:** https://discourse.slicer.org/t/dwiconvert-usage/608
**Category:** Support
**Tags:** dicom, nifti, dwiconvert
**Created:** [June 30, 2017, 2:36pm UTC](https://discourse.slicer.org/t/dwiconvert-usage/608 "2017-06-30T14:36:52Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![ihnorton](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ihnorton/32/9_2.png) [@ihnorton](https://discourse.slicer.org/u/ihnorton)
#### Post date: [June 30, 2017, 4:36pm UTC](https://discourse.slicer.org/t/dwiconvert-usage/608/2 "2017-06-30T16:36:13Z")

</div>

For the moment the best bet is probably to sort the files in a temp directory and run DWIConvert on that. DWIConvert examines every file in a directory and doesn’t do much general sorting or validation, so the program behavior is basically undefined if you have mixed series or non-DICOM data in the directory. Sometimes it just crashes. [See this related comment about CLI file communication](https://discourse.slicer.org/t/slicer-dicom-scalar-volume-plugin-relies-on-old-gdcm-why-do-we-not-use-dcmtk/354/11?u=ihnorton).

---

_[View the full topic](https://discourse.slicer.org/t/dwiconvert-usage/608)._
