Date:  04/20/2008 03:26:36 PM Msg ID:  003729
From:  Gary S Thread:  003729
Subject:  ADir function not work on mapped drive
Win2003 SP2 server
IIS Ver 6.0
Foxweb Ver 4.3

When calling the ADIR function with a mapped drive file skeleton it always returns 0 (zero).  However calling it with a local drive skeleton it works as expected.

Drive T: is mapped to "computer2\data"
Drive C: contains a copy of computer2\data\info in c:\info

Adir(la1,'t:\info\*.*') will return 0.
Adir(la1,'c:\info\*.*') will return the number of files.