Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rename File
Message
 
À
10/09/2004 04:16:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00940948
Message ID:
00940949
Vues:
45
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
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform