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:
00178366
Vues:
40
You're quite welcome. There are a lot of handy things you can do with the FileSystemObject. It's way speedy too!

>Ken,
>
>Cool! thanks
>
>>Yes, you can also accomplish the same thing with Windows scripting:
>>
>>
folderspec='c:\foo'
>>cNewName = 'foobar'
>>
>>fso = CreateObject("Scripting.FileSystemObject")
>>oFolder = fso.GetFolder(folderspec)
>>oFolder.Name = cNewName
>>
>>This example renames folder c:\foo to foobar
kenweber
GCom2 Solutions
Microsoft Certified Professional

Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform