Hello, thanks to all that replied to my previous posts.

I wish to execute the following command (which works fine at the actual command line - tested under linux already):

dcmodify -m "(0010,0020)=123456789" /export/data/jsalik/DICOM_DB/PENDING/SEBASTIAN_HEAD_4/*.*

I tried the following code:
Qt Code:
  1. QString Command_Line = QString("dcmodify -m")+QString("\"(")+Key_String_Value+QString(")=")+Data_Value+"\" ";
  2. #ifdef Q_WS_WIN
  3. Command_Line+=QString("\"")+Target_File_Path+QString("\\")+File_Name+QString("\"");
  4. #else
  5. Command_Line+=(Target_File_Path+"/"+File_Name);
  6. #endif
  7.  
  8. System_Call.start(Command_Line);
  9. System_Call.waitForFinished();
To copy to clipboard, switch view to plain text mode 

It seems to work just fine under windows.

nothing seems to happen. I do not even get anything when I try to dump the standard output. Can anyone tell me why?