Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Spaces in filenames
Message
De
27/06/2000 08:33:03
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
 
 
À
27/06/2000 02:28:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00384902
Message ID:
00384961
Vues:
21
David,

I haven't tried this, but if Gavin's idea doesn't work try:

lcMyLongMemoFilename = ["] + ALLT(MyLongMemoFilename) + ["]
IMPORT FROM (lcMyLongMemoFilename)



>Suppose I have a string variable that holds a very long file name with embedded spaces. How would I reference it in a command whose syntax calls for a 'Filename'.
>
>Specifically, I was trying to import a file whose full path and name are stored in a memo record...and having no luck. I got a syntax error when I tried:
>
>import from (mylongmemofilename)
>
>where the memo field mylongmemofilename contains the string of the form
>
>g:\my dir1\my dir2\myfile.xls
>
>(Spaces significant in the above)
>
>I remember reading about how such path specs can be handled, but I'll be damned if I can find the answer in MSDN now!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform