I'm trying to create a temporary directory called ~/.mydirectory
When I run this code:
DirectoryPath:='~/.mydirectory/';
if not DirectoryExists(DirectoryPath) then
try
ForceDirectories(DirectoryPath);
except
MessageDlg('A temporary path could not be
constructed.'+DirectoryPath+#13+#10+
'Please correct this and try again', mtWarning, [mbOk], 0);
end;
It appears that the directory (~/mydirectory) does exist although I
cannot find it.
What am I doing wrong?
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus