[Lazarus] How to create a directory from a path string? (cross-platform needed).

William Oliveira Ferreira bdexterholland at gmail.com
Tue Mar 15 19:00:47 CET 2011


Could Try this one?
http://www.freepascal.org/docs-html/rtl/sysutils/createdir.html
________________________________
William de Oliveira Ferreira
Bacharel em Sistemas de Informação


2011/3/15 silvioprog <silvioprog at gmail.com>

> 2011/3/15 Peter Williams <pewilliams2010 at live.com>:
> (...)
> var
>   Str1 : string;
> begin
>  Str1 := GetAppConfigDir(False);
>   if not DirectoryExists(Str1) then
>     ForceDirectory(Str1);
> (...)
>
> Good luck. ;)
>
> --
> Silvio Clécio
> =================================================
> Blog - silvioprog.com.br
> Twitter - twitter.com/silvioprog
> LazSolutions - code.google.com/p/lazsolutions
> Lazarus-BR <http://code.google.com/p/lazsolutionsLazarus-BR> -
> http://groups.google.com.br/group/lazarus-br?hl=pt-BR
> =================================================
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20110315/484a3729/attachment-0003.html>


More information about the Lazarus mailing list