Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File Scripting object
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00453480
Message ID:
00453506
Views:
29
>It seems, the slash should be at the end:
>fso.GetFolder("c:\test\")

I just added:

lcfolder = LEFT(lcfolder, LEN(lcfolder) - 1)

to my test code and it ran fine also. It was a long path to boot, so I don't think that the trailing backslash is a necessity. FWIW, GETDIR() returns a path with the trailing backslash.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform