Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there an API call to rename a folder
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00178253
Message ID:
00178562
Vues:
35
Hi again!

To move a file using Windows Scripting:
md c:\bar
md c:\foo
md c:\foobar

fso = CreateObject("Scripting.FileSystemObject")

* Move folder bar into folder foo
fso.MoveFolder("c:\bar", "c:\foo\")

* Move folder foo (and thus foo\bar) into folder c:\foobar
fso.MoveFolder("c:\foo", "c:\foobar\")
>Yes, that is exactly what I meant.
>
>FYI: The MoveFile API call allows you to specify a fully qualified path for the 'from' path and the 'to' path.
>
>Regardless, your quick response has saved me hours of development time.
kenweber
GCom2 Solutions
Microsoft Certified Professional

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform