#Region ;**** 参数创建于 ACNWrapper_GUI ****
#AutoIt3Wrapper_icon=C:\WINDOWS\system32\SHELL32.dll
#AutoIt3Wrapper_outfile=字符串替换.exe
#AutoIt3Wrapper_Change2CUI=y
#EndRegion ;**** 参数创建于 ACNWrapper_GUI ****
If $cmdline[0] = 0 Then
$box = MsgBox(1,"提示","是否关联右键菜单")
If $box =1 Then
;按是之后执行的代码
Else
;按否之后执行的代码
EndIf
Exit
EndIf
$a = FileGetAttrib($cmdline[1])
If StringInStr($a,"A") = 0 Then
FileSetAttrib($cmdline[1],"+A")
Else
FileSetAttrib($cmdline[1],"-A")
EndIf
If StringInStr($a,"H") = 0 Then
FileSetAttrib($cmdline[1],"+H")
Else
FileSetAttrib($cmdline[1],"-H")
EndIf
If StringInStr($a,"S") = 0 Then
FileSetAttrib($cmdline[1],"+S")
Else
FileSetAttrib($cmdline[1],"-S")
EndIf
|