Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set default
Message
De
12/04/2015 05:21:20
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
12/04/2015 05:14:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8.1
Network:
SAMBA Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01618228
Message ID:
01618230
Vues:
50
>>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.

The checkbox in options dialog seams to have influence to the Storage of options to the registry and retrieve them.

Thank you.

Lutz
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform