Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Folder Names with Spaces
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8
Miscellaneous
Thread ID:
01054135
Message ID:
01054198
Views:
22
>>>I am having trouble getting VFP to process folder names with spaces.
>>>
>>>For example, suppose I have a file data1.dbf in a folder "My Documents" and
>>>I have set a variable DIR1 = "C:\MY Documents".
>>>
>>>The commands USE C:\My Documents\data1 or USE &DIR1\data1 do not work.
>>>
>>>Is there a way to refer to a folder with a space in it so that it works?
>>
>>You can use Name expression
USE (DIR1 + "\data1")
>
>And also USE "C:\My Documents\data1"

I would never use it. It's a bad idea to hardcode directories in the application.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform