[au3]$Path=@DesktopDir
$search = FileFindFirstFile($Path & "\*.exe")
If $search = -1 Then
MsgBox(0, "Error", "No files/directories matched the search pattern")
Exit
EndIf
While 1
$file = FileFindNextFile($search)
If @error Then ExitLoop
If $file="1.exe" then ContinueLoop
;~ FileDelete(@DesktopDir & "\$file")
MsgBox(0,"删除文件" , $file)
WEnd
FileClose($search)[/au3]