
26 Apr
2007
26 Apr
'07
1:34 p.m.
Hello,
On Thu, 26 Apr 2007 12:23:30 +0200, Jeff
Hello,
I can see from a FileSystem example how to check for the existence of a directory. What I would like to be able to do is to check for the existence of a file but I couldn't figure out how to do it using exists().
Simply: path filepath;// this is a path to a file if (exists(filepath) && !is_directory(filepath)) { ... the file is there } else { ...the file is not in there, or it is a directory. } Greetings, Luca