Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Seleccionar un archivo
Message
 
 
To
22/09/2012 10:48:00
Luis Parada
Prosoft´s de Venezuela, C.A.
Valencia, Venezuela
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01553476
Message ID:
01553477
Views:
37
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform