Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Renaming a directory
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00395201
Message ID:
00395883
Vues:
9
>Try using rename() from the C++ runtime:
>
>Declare Integer rename in MSVCRT.dll As _rename String @oldname, String @newname
>md c:\foo
>lsOld = "c:\foo"
>lsNew = "c:\newfoo"
>_rename(@lsOld, @lsNew)
>
>Note that you have to alias the function name because VFP already has a RENAME command.

Thanks Mike, curious approach :)
Pablo Roca
Clavo Congelados, S.A. (La Coruna - Spain)
Sysop of PortalFox

Join MasFoxPro campaign
http://www.masfoxpro.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform