I saw a problem that a fellow needed to solve yesterday, but today the post can't be found
'Please modify the location of the QQ folder in the program by yourself.
'No matter whether it is 8-digit or 9-digit, any folder with a numeric name will be deleted!
'By the way, recently Chinese TV dramas are getting more and more tasteless!
dim fso,finm,all
set fso=createobject("scripting.filesystemobject")
set flnm=fso.getfolder("C:\Program Files\QQ2006")
set all=flnm.subfolders
for each path in all
dim fs,fnm
set fs=createobject("scripting.filesystemobject")
fnm=fs.getfilename(path)
on error resume next
fnm=int(fnm)
if err.number<>13 then
dim list
fs.deletefolder(path)
list=list&fnm&chr(10)
end if
next
msgbox "Deleted QQ number folders:"&chr(10)&list,vbinformation,"Clear QQ account remaining files"
