How do you move a folder from one drive to another?

Giganews Newsgroups
Subject: How do you move a folder from one drive to another?
Posted by:  Mark (noe_zp…@stopbots.org)
Date: Thu, 30 Mar 2006

Hi,

Is there a simple Delphi way to move a directory to a new location on a
different drive? I wrote something that moves a directory to a new
location on the same drive using the FindFirst/FindNext with Rename.
rename works with directories, so it is nice and fast.

Or do I have to bite the bullet and copy and delete everything in a
recursive procedure?

Regards,

Mark

Replies