Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Folder name
Message
From
04/08/2008 14:04:41
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
04/08/2008 13:13:56
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01336279
Message ID:
01336298
Views:
17
>What is the command line to rename a folder in VFP8?

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

Pass it two variables by reference, containing the old and new folder names. It should return 1 if OK.

IF MoveFile(@cOld, @cNew)=1

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform