Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adir()
Message
 
 
À
29/10/2015 16:08:53
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:
01626673
Vues:
47
>sorry,
>
>ruta='\\server\megasystem\reports\'
>
>lnfilecount = adir(lafiles,ruta+"*.frx")
>
>in server\megasystem \ reports I have 300 files but returns lnfilecount =0
>
> but if I put the network drive if I returned 300 files
>
>
>ruta='f:\megasystem\reports\'
>
>lnfilecount = adir(lafiles,ruta+"*.frx")
>
>
>returns lnfilecount =300

So, looks like your drive is not properly mapped.

If you put in Windows Explorer

\\server\megasystem

can you access your directory?
If it's not broken, fix it until it is.


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

Click here to load this message in the networking platform