[Lazarus-es] Recorer archivos de una carpeta
Martin Gomez
mmgomez en gmail.com
Jue Ene 23 17:09:21 CET 2014
2014/1/22 Jesus Reyes <jesusrmx en yahoo.com.mx>
> Si usas la unit FileUtil (paquete LazUtils) puede hacer algo como esto:
>
> Lista := FindAllFiles( '/un/directorio', '*.xml', false);
>
> Regresa un TStringList (Lista) con los archivos que coincidan con la
> extensión .xml en /un/directorio , el último parámetro indica si quieres
> que también busque en subdirectorios o no.
>
> Jesus Reyes A.
>
Buenísimo... siempre lo hice "a lo Delphi", esta función ayuda muchísimo!
--
Try not to become a man of success but rather to become a man of value. *Albert
Einstein*
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus-es/attachments/20140123/1be3a684/attachment-0002.html>
More information about the Lazarus-es
mailing list