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:
00188858
Views:
20
>>>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
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform