Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Renaming a Directory Within VFP5
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00172494
Message ID:
00172503
Vues:
22
>Does anyone know how to rename a directory within VFP5 without using the DOS rename command?

Hi Jeff,

An API call can do the trick:
DECLARE SHORT MoveFile IN Win32API;
   STRING @lpcurrentname, STRING @lpnewname
* lccurrent is the current name
* lcnew is the new name
llresult = MoveFile(@lccurrent, @lcnew)
hth,
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform