Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Renaming Dir
Message
De
21/05/2001 10:51:34
David Fluker
NGIT - Centers For Disease Control
Decatur, Georgie, États-Unis
 
 
À
21/05/2001 10:28:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00509442
Message ID:
00509459
Vues:
21
>Is there a way to rename a directory (ie simulate the right click->rename in win 95 98. Can it be done from inside VFP? can it be done in a the batch/icon file that calls up a VFP app?
>
>
>TIA
>CG

Off hand, I can't think of a FoxPro command that will change a directory name, but
1. I imagine you could do it through the Win API or Windows Scripting Host.
2. You can use RUN to use the operating system's REN command.
3. While you can certainly create and run this VFP app from an icon, it seems like a lot of overhead and time spent loading a VFP application to change a directory name.
David.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform