Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adir()
Message
 
 
À
29/10/2015 16:02:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Re: Adir()
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01626658
Message ID:
01626671
Vues:
48
>
>ruta='server\megasystem\reports\'
>
>lnfilecount = adir(lafiles,ruta+"*.frx")
>
>
>
>in server\megasystem \ reports I have 300 files but returns lnfilecount =0

It should be either
ruta = "\\server\megasystem\reports\"
or

ruta = "c:\server\megasystem\reports\"

In other words, your directory should be either UNC path or normal path with a drive name in front.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform