Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP and long filenames
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00188849
Message ID:
00188864
Vues:
17
>>>>Given : file CONFIG.DBF in a folder c:\program files\the bat!\batstat.
>>>>Need to : open this table with USE command.
>>>>Is there any way to treat folder name, which containes "!" ?
>>>>
>>>
>>>Stick the path in a string, and use name indirection:
>>>
>>>cDBFPath = "c:\program files\the bat!\batstat\CONFIG.DBF"
>>>
>>>USE (cDBFPath)
>>
>>Actually you don't even have to use a string var, you can just stick the literal string in the parentheses:
>>
>>USE ("c:\program files\the bat!\batstat\config.dbf")
>>
>>Cheers,
>>Rich.
>
>Very true - just force of habit...
>
>Ed

Of course your way is more flexible if they're going to use it in a generic table opening routine or some such. i.e. - good habit!

Rich.
Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform