Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
8.3 notation
Message
 
À
11/03/2005 14:53:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00994988
Message ID:
00995001
Vues:
23
I am afraid, it depends on how the particular directory/path was declared or defined. At least you need to find how to do it for particular directory or situation.

Consider this scenario.
You declare tmpfiles in configuration file and with the name SHORT format.

?sys(2023) && will give you the short name.
oFSO = CreateObject("Scripting.FileSystemObject")
?oFSO.GetFolder(SYS(2023)).Name && still give you the short name

adir(atemp,(sys(2023)),"D")
?atemp[1] && here it is, the long name.


>That's all fine. What I wanted really was: Why does VFP behaves one way and another way when displaying paths with spaces in them. I want to be able to control this so that I will either, see everything with the tildes or with the long folder names.
>
>>You could control it following VFP Help:
>>*-----------------------
>>You can specify the path on which temporary files are stored by including the special TMPFILES configuration item in your Visual FoxPro configuration file.
>>*----------------------
>>Just specify the path in the format you need.
>>
>>
>>>Hi all,
>>>
>>>In one machine, W2K SP2, issuing a WAIT WINDOW SYS(2023) displays the full path. In my machine, W2K SP2, I get tildes on the output. Can we control the 8.3 notation from within VFP?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform