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:
00178444
Views:
29
The best answer I got was the following:

? MoveFile( "c:\test1", "c:\test2" )

********************
FUNCTION MoveFile( m.lcFromFile, m.lcToFile )
********************

DECLARE SHORT MoveFile IN Win32API;
STRING @lpcurrentname, STRING @lpnewname

RETURN( ( MoveFile(@lcFromFile, @lcToFile) != 0 ) )
Juan L. Romero
gcandela@javanet.com
Previous
Reply
Map
View

Click here to load this message in the networking platform