Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adir()
Message
 
 
To
29/10/2015 16:02:17
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:
01626671
Views:
47
>
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform