Hi, everyone. Always thanks for your help.
Well, I've made simple explorer but there is some problem. With my explorer, I wanna rename "C:\Users\...\My Music" folder's name so I used SHFileOperation() function like this.
sfo.hwnd = m_hSelf;
sfo.wFunc = FO_RENAME;
sfo.pTo = szCurStr;
sfo.pFrom = szOldStr;
sfo.fFlags = FOF_SILENT;
nFlag = SHFileOperation(&sfo);
bError = sfo.fAnyOperationsAborted;
Process that code, the "My Music" folder name is not changed yet. But name on property is changed.
Name displayed on "My Music" folder's property->General is also "My Music" but
name displayed on "My Music" folder's property->Sharing, Security, Location is changed to new name.
What is wrong?
---------------------------------------------------------
Well, I can rename "My Music" folder's name on Windows Explorer but using that code, I can not do this.
Please, help me.