Given the following snippet:
Dim s As String: s = "S:vicla[..insert more here..]data.xml"
Debug.Print Len(s)
Debug.Print Dir(s)
If Len(s) >= 260
I receive an error stating the following:
Run-time error '53':
File not found
If the string is less than 260 it works fine and displays expected behavior for both found and non-found files.
Is there to get DIR working with long (>260) path names?
Notes
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…