DECLARE SHORT MoveFile IN Win32API; STRING @lpcurrentname, STRING @lpnewname * lcoldname is the current name of the directory * lcnewname is the new name for the directory * llresult will be .T. if the function succeeded. llresult = (MoveFile(@lcoldname, @lcnewname) # 0)hth,