谢谢,这个问题已经解决了,但是新问题出现了:
If WinWait("C:\Documents and Settings\All Users\「开始」菜单\程序\WinRAR") Then
WinClose("C:\Documents and Settings\All Users\「开始」菜单\程序\WinRAR")
EndIf
WinWait("WinRAR","C:\ProgramData\Microsoft\Windows\Start Menu\Programs\WinRAR")
WinClose("WinRAR","C:\ProgramData\Microsoft\Windows\Start Menu\Programs\WinRAR")