Код:
Код: Выделить всё
FileSetAttrib($CmdLineRaw, "+R-A", 0)
;MsgBox (0, "title", $CmdLineRaw)Код: Выделить всё
FileSetAttrib($CmdLineRaw, "+R-A", 0)
;MsgBox (0, "title", $CmdLineRaw)Код: Выделить всё
#include
#include
If $CmdLine[0] >1 Then
Local $File = $CmdLine[1]
If FileSetAttrib($File, "+R-A", 0) Then
MsgBox ($MB_SYSTEMMODAL, "Ok", $CmdLineRaw)
Else
MsgBox($MB_SYSTEMMODAL, "Error", "Problem setting attributes.")
EndIf
EndIf