Index: src/libchcore/TSubTaskBase.cpp =================================================================== diff -u -N -rfb881f503caba7b2ade610ba7fc1a36a5aea5d01 -rf866db90e4b058a4f2e13cc6cf076d1e0bf2d956 --- src/libchcore/TSubTaskBase.cpp (.../TSubTaskBase.cpp) (revision fb881f503caba7b2ade610ba7fc1a36a5aea5d01) +++ src/libchcore/TSubTaskBase.cpp (.../TSubTaskBase.cpp) (revision f866db90e4b058a4f2e13cc6cf076d1e0bf2d956) @@ -78,13 +78,17 @@ spPathData->SetDestinationPath(pathSubst); } else - spPathData->SetDestinationPath(spFileInfo->GetFullFilePath().GetFileName()); + { + TSmartPath pathFilename = spFileInfo->GetFullFilePath().GetFileName(); + pathFilename.StripPath(L":"); + spPathData->SetDestinationPath(pathFilename); + } } return pathDst + spPathData->GetDestinationPath() + spFileInfo->GetFilePath(); } else - return pathDst + spFileInfo->GetFullFilePath().GetFileName(); + return pathDst + spFileInfo->GetFilePath(); } } @@ -98,6 +102,7 @@ pathSrcPath.StripSeparatorAtEnd(); TSmartPath pathFilename = pathSrcPath.GetFileName(); + pathFilename.StripPath(L":"); // set the dest path TString strCheckPath = GetTaskPropValue(rConfig);