Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Folder Names with Spaces
Message
 
 
To
28/09/2005 14:56:51
Mike Smith
Doncaster Office Services
Oakville, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8
Miscellaneous
Thread ID:
01054135
Message ID:
01054136
Views:
25
>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")
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform