Hi,<br><br>We have to set the file prefix like this: <br>v16-&gt;SetFilePrefix(&quot;D:/A/B/Z&quot;);<br>v16-&gt;SetFilePattern(&quot;%s%d.dcm&quot;);<br>Where the 2-d dicom files have been stored in folder B with filenames such as Z1, Z2 and so on.<br>

This is too late to be of help to the person who first asked the question, but perhaps it may be helpful to someone in the future.<br>