$path1=("C:")
$path2=("D:")
FileDelete($path1&"\*.tmp")
FileDelete($path2&"\*.tm")
If FileExists($path1&"\*.tmp") Or FileExists($path2&"\*.tm") Then
msgbox(16,"警告","清除失败")
Else
msgbox(48,"成功","清除成功")
EndIf
$path1=("C:")
$path2=("D:")
FileDelete($path1&"\*.tmp")
FileDelete($path2&"\*.tm")
If FileExists($path1&"\*.tmp") Or FileExists($path2&"\*.tm") Then
msgbox(16,"警告","清除失败")
Else
msgbox(48,"成功","清除成功")
EndIf