:stupid:
Dir forum,

I want to delete some files in system folder likes "c:\\windows\\temporary internet files\\*.*"

But when I use some code like this, it don't run well.

SHFILEOPSTRUCT sh;

sh.hwnd = GetSafeHwnd();
sh.wFunc = FO_DELETE;
sh.pFrom = "c:\\windows\\temporary internet files\0";
sh.pTo = NULL;
sh.fFlags = FOF_NOCONFIRMATION | FOF_SILENT;
sh.hNameMappings = 0;
sh.lpszProgressTitle = NULL;

SHFileOperation (&sh);

Any ideas???

Please to help me!

Thank you very much!
Posted on 2001-11-26 04:41:02 by bung