Rename at the end of study

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
Ahmed_Zikry
Posts: 15
Joined: Fri, 2014-08-15, 08:12

Rename at the end of study

#1 Post by Ahmed_Zikry »

Hello ALL,

I want to rename study directory at the end of study.

when i use command
>> storescp.exe +xa 104 -od temp -rns -ss PAT_

it renames the directory while it is still receiving images, but i want it to rename after it finish receiving of images to indicate the end of transmission.

THANKS IN ADVANCE

J. Riesmeier
DCMTK Developer
Posts: 2503
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: Rename at the end of study

#2 Post by J. Riesmeier »

The -rns renames the DICOM files and not the directory, as you can read in the documentation (and also in the syntax usage).
You could use -xcs (execute on end of study) to call an appropriate command for renaming the directory...

Ahmed_Zikry
Posts: 15
Joined: Fri, 2014-08-15, 08:12

Re: Rename at the end of study

#3 Post by Ahmed_Zikry »

J. Riesmeier wrote:The -rns renames the DICOM files and not the directory, as you can read in the documentation (and also in the syntax usage).
You could use -xcs (execute on end of study) to call an appropriate command for renaming the directory...
Sorry i described it wrong but the DICOM files names didn't change.
Can you write me the command that able me to change the name of dir after end of study using xcs.

Sorry for bothering you.

THANKS IN ADVANCE.

Ahmed_Zikry
Posts: 15
Joined: Fri, 2014-08-15, 08:12

Re: Rename at the end of study

#4 Post by Ahmed_Zikry »

Any help please??

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest