Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Slow ADIR on NT
Message
From
15/04/2002 08:18:46
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Slow ADIR on NT
Miscellaneous
Thread ID:
00644965
Message ID:
00644965
Views:
50
Could anyone explain why the following code runs in .1 sec on a Win98 machine and 1.2 secs on an NT 4 machine?

lnStart = seconds()
lnDirOK = adir(laTemp, "\\charlton1\depts\general\MF Log\", "D") > 0
wait wind str( seconds() - lnStart, 6, 2 )

All I wanted to do is check to make sure that the directory existed. Both machines are the same spec and sit next door to each other. All NT machines around the building that I have tested this on display a much longer response time than the 95 & 98 machines.

For info - it's VFP5 and the directory has 297 files in it.

Many thanks

Jason
Next
Reply
Map
View

Click here to load this message in the networking platform