Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 7, set default to command, set to drive letter?
Message
De
09/04/2002 10:31:46
 
 
À
09/04/2002 10:27:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00642664
Message ID:
00642668
Vues:
13
Claude,
Try FULLPATH("") or SYS(5) + CURDIR() instead.

>I an not sure if I do not understand the set default command or if this is a bug.
>
>I determine the default directory and assign it to a variable, i.e
> m.gcDefDir = SUBSTR(SYS(16,0),1,RAT('\',SYS(16,0)))
> i.e 'c:\defdir'
>Then I a set the default directory using the command
> set default to m.gcDefDir
>The command
> ? set("default)
>returns "C:" instead of "c:\defdir". Is that correct? If not what am I doing wrong?
Daniel
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform