I want to copy the favorites to another location for restoring it later.....
Posted on 2006-06-30
The following code provides me with the location of the Favorites
procedure TForm1.btn1Click(Sender: TObject);
path: array[0..MAX_PATH] of Char;
SHGetSpecialFolderLocation(0, CSIDL_FAVORITES, idlist);
Result := Path;
How do I make it copy them to "D:\backup", and later on restore it to that same location?
I have spent 3 days now and have downloaded dozens of samples but cannot figure it out