Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rename File
Message
De
10/09/2004 04:59:50
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00940948
Message ID:
00940952
Vues:
31
Hi Borislav,
thanks a lot it works!!!
Ryan.

>Try this (not tested):
>
>
>oldFile = GetFile()
>IF .NOT. EMPTY(oldFile)
>** If You want to save the extension
>** Use this:  newFile = ADDBS(JUSTPATH(oldFile))+"NewFileName."+JUSTEXT(oldFile)
>
>   newFile = ADDBS(JUSTPATH(oldFile))+"NewFileName.EXT"
>   RENAME (oldFile) TO (newFile)
>ENDIF
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform