Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Folder Names with Spaces
Message
 
 
À
28/09/2005 15:42:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8
Divers
Thread ID:
01054135
Message ID:
01054198
Vues:
23
>>>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--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform