... or, if you want even more options :) you could run a loop in Matlab
and pass the command (with one line each or so) to the system shell
using the "!" or "system" command.
Cheers,
Marko
Kathy Pearson wrote:
> Try specifying only a single *.dcm file name per directory instead of listing each one separately.
>
> Kathy Pearson
>
> On Mon, 30 Jul 2012 11:31:19 -0400, cliff <[log in to unmask]> wrote:
>
>> Hi experts,
>> When I try to use the command line mode of dcm2nii.exe to import a bunch of
>> .dcm images to nifti images, it failed and indicated that "the command
>> line is too long. ". (I just concatenate all the .dcm file names together
>> as it required)
>>
>> However, these .dcm files can be done successfully in the GUI mode of
>> dcm2nii.exe.
>>
>> So I want to know how to fix this problem? What is the maximum length of
>> the command line for dcm2nii.exe?
>> Thanks!
>>
>>
>>
>>
>> --------
>> Sincerely,
>> Senhua Zhu
>>
>
--
____________________________________________________
PD Dr. med. Marko Wilke
Facharzt für Kinder- und Jugendmedizin
Leiter, Experimentelle Pädiatrische Neurobildgebung
Universitäts-Kinderklinik
Abt. III (Neuropädiatrie)
Marko Wilke, MD, PhD
Pediatrician
Head, Experimental Pediatric Neuroimaging
University Children's Hospital
Dept. III (Pediatric Neurology)
Hoppe-Seyler-Str. 1
D - 72076 Tübingen, Germany
Tel. +49 7071 29-83416
Fax +49 7071 29-5473
[log in to unmask]
http://www.medizin.uni-tuebingen.de/kinder/epn/
____________________________________________________
|