>I have a blonde moment.
>
>I can not get SET DEFAULT to work (with commands)
>
>If I look into "Tools / Option / File Locations /Default Directory" its marked as
not used whatever
>I set with SET DEFAULT. If I modify in options, there is a little checkbox "Use default directory"
>
>What command swichtes that?
>
>And was SET DEFAULT not supposed to stay ahead of any CD command?
No, SET DEFAULT does not have precedence over CD. Either changes the default directory; the last one run wins.
I don't have any default directory set in Options. My default folder is set by whichever one is set in the CONFIG.FPW I use to start VFP e.g. DEFAULT=C:\Some\Folder
But, that's not set in stone. I can use CD or SET DEFAULT to change it at any time.
If SET DEFAULT TO is not working for you, are you getting an error message, or no error message but the default directory is not changed? What does DISPLAY STATUS show after your run SET DEFAULT TO?
Are you using any sort of framework IDE that might enforce a default folder?
Do you have permissions to SET DEFAULT TO the folder you want? Does that folder exist?
What happens if you rename your FOXUSER.* files?
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up