Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there an API call to rename a folder
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00178253
Message ID:
00178366
Views:
38
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

Previous
Reply
Map
View

Click here to load this message in the networking platform