>Does anyone know how to rename a directory within VFP5 without using the DOS rename command?
Hi Jeff,
An API call can do the trick:
DECLARESHORT MoveFile IN Win32API;
STRING @lpcurrentname, STRING @lpnewname
* lccurrent is the current name* lcnew is the new name
llresult = MoveFile(@lccurrent, @lcnew)