Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Find a Directory which includes spaces
Message
From
15/06/2004 07:37:07
 
 
To
15/06/2004 07:27:53
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00913803
Message ID:
00913805
Views:
16
>How can I verify a Directory or a file when a folder in the path has a space in the name.
>
>Example:
>
>? File("\\gvsvr03\drawings\wgen\release pdf\fai_scanned_documents/856031-401D_1.pdf")
>
>Returns .F. I think because the folder release pdf has a space. Our IT group created this folder for me.


It does not seem to be the space. It looks to me that the servername is not being found and/or you do not have sufficient access to the folder. Is the folder in that server shared? In that case, try mapping it to a drive letter and use the letter instead and it shuld work.

Something like: File("v:\drawings\wgen\release pdf\fai_scanned_documents/856031-401D_1.pdf")


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform