/* by c4rp3nt3r@gmail.com http://c4rp3nt3r.bolgspot.com/ */ #include //获取Application Data文件夹路径,删除飞信保存密码的文件! char szPath[256]; return 0; }
#include
#include
int mian(int argc,char **argv){
HRESULT ret= SHGetFolderPath(NULL, CSIDL_APPDATA , NULL, 0, szPath );
strcat(szPath,"file://fetion//configuration.dat");
//printf("appdata---------%s",szPath );
if (GetFileAttributes(szPath ) != -1)
DeleteFile(szPath );
Subscribe to:
Posts (Atom)