//清空回收站,调用winapi接口
::Shell = raw.loadDll("Shell32.dll")
SHEmptyRecycleBin = Shell.api("SHEmptyRecycleBin","addr(addr hwnd,string rootPath,INT flags)" )
var emptyRecycleBin = function(hwnd=0,rootPath,flags=1){
return 0 == SHEmptyRecycleBin(hwnd,rootPath,flags);
}
emptyRecycleBin();
mainForm.richedit.print("清空回收站");