>I use getdir() to select a new directory.
>
>I use the following code
>
>store getdir() to newdir
>set default to &newdir
Try:
SET DEFAULT TO (newdir)
Name expansion is almost always preferable to macroexpansion where it's usable, since it is not affected by characters that might be interpreted as separators by the VFP command line parser.
>
>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?