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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only