Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use long directory or file names in VFP?
Message
From
26/12/1997 08:05:04
 
 
To
26/12/1997 06:48:30
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00067966
Message ID:
00067968
Views:
33
Directories that have blank spaces in them have to be surrouned in quotes for VFP functions.

Set Default to c:\Program Files will bomb, but
Set Default to "c:\Program Files" will work.

So you won't have to make an API call to create directories anymore.


>I am writing one general recursive routine and I have long directory names
>as well as long filenames generated dynamically. but vfp 'md' and 'copyfile'
>all this functions doesn't support long file names. if i try to make directory
>say ' my documents', it won't create it. same with copyfile() function. For this
>I am using API functions. but at sometimes for functioning purpose i need to
>change directory in foxpro which we usually do by 'cd' command. and 'cd' simply
>won't work with long directory names. Naturally Windows API does not have function
>to change foxpro path.
>Is there any way to do it via functions of foxtools.fll or any suggestion ?
>
>Thanks,
>Kaumir Shah
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform