Directoryexists does not recognise directory if path contains a separator at the end on Windows. Bug? That is why I need to that. String dir = GetFileDirectory ( filename ); if ( dir.EndsWith ( DIR_SEPS ) ) dir = dir.Left ( dir.GetCount() - 1 ); if ( DirectoryExists ( dir ) ) { A.
Report message to a moderator