donvittorio
Programmer
Hello,
As part of my program I want to remove a directory from the hard drive that has some files in it. The Delphi function RemoveDir will not work because it will only remove the directory if it is empty.
I could iterate through all files in the directory and delete them one by one and then remove the directory, but I was wondering if anybody knew a quicker and easier way to do this?
thanks
Steve
As part of my program I want to remove a directory from the hard drive that has some files in it. The Delphi function RemoveDir will not work because it will only remove the directory if it is empty.
I could iterate through all files in the directory and delete them one by one and then remove the directory, but I was wondering if anybody knew a quicker and easier way to do this?
thanks
Steve