Dave, The following works on my PC: MoveFile('c:\a', 'c:\b')
John -----Original Message----- From: David O'Brien [mailto:[EMAIL PROTECTED]] Sent: Monday, 15 October 2001 12:54 pm To: Multiple recipients of list delphi Subject: RE: [DUG]: Renaming Folders in Windows MoveFile returns false, and Getlasterror returns 32. Any idea what that means? I have tried many combinations of backslashes (with/without). Dave. -----Original Message----- From: Manning, John [mailto:[EMAIL PROTECTED]] Sent: Monday, October 15, 2001 3:28 PM To: Multiple recipients of list delphi Subject: RE: [DUG]: Renaming Folders in Windows Try the API function MoveFile! HTH, John --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/