Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » Bug? Directoryexists does not recognise directory if...
Bug? Directoryexists does not recognise directory if... [message #44432] Wed, 11 March 2015 19:10 Go to previous message
aftershock is currently offline  aftershock
Messages: 143
Registered: May 2008
Experienced Member
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.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: rounding to decimals implementation
Next Topic: Is guilock safe?
Goto Forum:
  


Current Time: Fri Mar 29 00:56:35 CET 2024

Total time taken to generate the page: 0.01320 seconds