Problem with path

From: RandomAccess (Random_at_Access.com)
Date: 12/30/03


Date: Tue, 30 Dec 2003 09:29:32 +0100

I am having some problems with UNC paths.
if I have a UNC path \\Machine\c\test\data.txt

and this path is actually the local computer my program is running on, then
FileExists returns false for this path.

I know FileExists is using FileAge, but nothing in the Help for either
function mentions anything about UNC filenames.

Since I am loading data from all over a network - including the local
machine, I thought I could use UNC paths as a generic way to get any file
anywhere.

I am using D5Pro on WinXP.

Best regards



Relevant Pages

  • RE: Link updates are very slow
    ... be sure and use UNC paths. ... This database contains nothing but tables. ... I have a .mdb on a local computer C:\Data\client1.mdb. ...
    (microsoft.public.access.tablesdbdesign)
  • Re: unc file spec ?????
    ... rob merritt wrote: ... > unfortunatly looks like fileexists doesn't work with UNC paths ... -- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: ...
    (microsoft.public.scripting.wsh)
  • Re: What should DIR("") return?
    ... UNC paths, in that errors would arise when checking for the BackEnd ... If GetAttrAnd vbDirectory Then ... FileExists = False ... On Error GoTo 0 ...
    (microsoft.public.access.externaldata)