# Convert single files into one .nii

**URL:** https://discourse.slicer.org/t/convert-single-files-into-one-nii/5407
**Category:** Support
**Tags:** dicom
**Created:** [January 17, 2019, 9:55pm UTC](https://discourse.slicer.org/t/convert-single-files-into-one-nii/5407 "2019-01-17T21:55:45Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![Frederic](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/frederic/32/4907_2.png) [@Frederic](https://discourse.slicer.org/u/Frederic)
#### Post date: [January 17, 2019, 10:36pm UTC](https://discourse.slicer.org/t/convert-single-files-into-one-nii/5407/4 "2019-01-17T22:36:18Z")

</div>

Not directly, but yest it’s possible, for example by a thing like that:  
After that you load MRIcroGL (dcm2niix)

> import os  
> command1 = “dcm2nix /YourDirectory/data.IMA”  
> os.system(command1)

---

_[View the full topic](https://discourse.slicer.org/t/convert-single-files-into-one-nii/5407)._
