Index: trunk/ab5.0/jenga/src/common/Directory.cpp
===================================================================
--- trunk/ab5.0/jenga/src/common/Directory.cpp	(revision 694)
+++ trunk/ab5.0/jenga/src/common/Directory.cpp	(revision 718)
@@ -8,5 +8,10 @@
 	if ( isMake )
 	{
-		if (!::MakeSureDirectoryPathExists(path.c_str()))
+		std::string tempPath = path;
+		if( !tempPath.empty() && tempPath[tempPath.size()-1] != '\\' )
+		{
+			tempPath += "\\";
+		}
+		if (!::MakeSureDirectoryPathExists(tempPath.c_str()))
 		{
 			Jenga::Throw( "MakeSureDirectoryPathExists failed!" );
