Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GETDIR()
Message
 
To
21/02/2001 20:57:25
Garry Sankowsky
Zodiac Publications
Tolga, Australia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00478260
Message ID:
00478262
Views:
21
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
Previous
Reply
Map
View

Click here to load this message in the networking platform