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:
00178289
Views:
29
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
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform