Mattias Gaertner wrote:
On Sun, 5 Feb 2006 10:40:35 +0100 (CET)
Michael Van Canneyt <[EMAIL PROTECTED]> wrote:
On Sun, 5 Feb 2006, Micha Nelissen wrote:
On Sat, 04 Feb 2006 20:35:29 -0800
George Lober <[EMAIL PROTECTED]> wrote:
Mattias Gaertner wrote:
Does FileUtil.ForceDirectory(xxx\xxx) work?
Not sure what you mean. How would you use that ? Is that a setting in
the IDE ?
It's a function to recursively create a (deep) directory, in the unit
FileUtil. Make a small program that calls it, and see whether it returns
when it shouldn't etc.
Just as a side remark: the function ForceDirectories in SysUtils
exists this since ages?
The '' test is buggy. It raises exceptions on '/test' and all relative
paths.
ForceDirectory() works without any problems on existing or non-existing
directories both under Win98 or WinXP.
IOResult is always 0.
For what its worth, I don't have any file or directory creation problems
in the IDE as when saving a project or units.
George
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives