Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Curdir ()
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01331823
Message ID:
01331838
Vues:
10
>= MESSAGEBOX(FULLPATH(" "))
>
>&& display: MFP-E2AEDFAF374\A1\GERA2\\anexos\
>
> = MESSAGEBOX(SYS(5))
>
>&& displays: MFP-E2AEDFAF374\A1\
>
>xPath = STRTRAN (FULLPATH(" "),SYS(5), " ")
>
>= MESSAGEBOX(xPath)
>
>&& displays: GERA2\\anexos\
>
>
>&&I would like to display:
>
>A1\GERA2\\anexos\
>
>(The whole path except the driver letter)

Try
xPath = STRTRAN (FULLPATH(" "),justpath(justpath(SYS(5))), " ")
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform