Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Seleccionar un archivo
Message
 
 
À
22/09/2012 10:48:00
Luis Parada
Prosoft´s de Venezuela, C.A.
Valencia, Vénézuéla
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01553476
Message ID:
01553477
Vues:
38
>Muy Buenos días.
>
>Tengo en un directorio varios archivos con diferentes extensiones.
>¿Como hago para seleccionar solamente los archivos de extensión .XML e introducirlo en una matriz.?
>
>Muchas gracias de antemano.
nNumero = ADIR(aArchivos, '*.XML')  
FOR nCount = 1 TO nNumero  
   ? aArchivos(nCount,1)  && Nombre de un archivo
ENDFOR
Espero que te sirve.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform