Versions des environnements
>>>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?
>
>Hi Al,
>
>O.K.
>
>Then I was wrong the last 20 years or so. Wonder that anything worked as expected. But in general I do not believe paths to much anyway.
>
>So to make it plain:
>It works like CD without any other meaning except that I can "run" it in the config file.
To be clear, in VFP, SET DEFAULT and CD are identical, just two names for the same command.
Tamar
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement