Hi Garry,
>I use getdir() to select a new directory.
>
>I use the following code
>
>store getdir() to newdir
>set default to &newdir
>
>I find that if the directory name has a space in it an error message is produced.
>
>I tried store '"+newdir+"' to newdir1
> set default to &newdir1
>
>This did not work.
>
>Is there some soluton?
Try:
set default to (newdir)
Or
cd(newdir)
HTH,
Bill Armbrecht
VFP MCP