Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adir()
Message
 
 
To
29/10/2015 16:08:53
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Re: Adir()
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01626658
Message ID:
01626673
Views:
48
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform