X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Example%2FSplitIntoDirectories.cxx;fp=Example%2FSplitIntoDirectories.cxx;h=ecbd89bed757c52bf083a3efae5a28c08c244a6d;hb=c75a681dc15def736e56e37d0abcd1bdf86caa31;hp=31c4aab46bbde700adbeb318658780f52879a948;hpb=ba28ede6a36f7cbfb7ecb3e0ca3c9bbfe7289afd;p=gdcm.git diff --git a/Example/SplitIntoDirectories.cxx b/Example/SplitIntoDirectories.cxx index 31c4aab4..ecbd89be 100755 --- a/Example/SplitIntoDirectories.cxx +++ b/Example/SplitIntoDirectories.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: SplitIntoDirectories.cxx,v $ Language: C++ - Date: $Date: 2011/04/22 14:39:41 $ - Version: $Revision: 1.10 $ + Date: $Date: 2011/08/25 14:37:05 $ + Version: $Revision: 1.11 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -517,7 +517,7 @@ int main(int argc, char *argv[]) fullWriteFilename = currentSerieWriteDir + GDCM_NAME_SPACE::GDCM_FILESEPARATOR + lastFilename; - systemCommand = "cp \"" + fullFilename + "\" \"" + fullWriteFilename + "\""; + systemCommand = "cp \"" + fullFilename + "\" " + fullWriteFilename; if (listonly) std::cout << "[" << systemCommand << "]" << std::endl;