Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP and long filenames
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00188849
Message ID:
00188856
Views:
21
>>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.
Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform