In kix script, we can set a file to certain attribute, example:
$Result = SetFilAttr("C:\temp\123.doc", 1)

How can I set to include all files in c:\temp to change to read-only.

I have tried this but failed:
$Result = SetFilAttr("C:\temp\*.*", 1)
or
$Result = SetFilAttr("C:\temp\*.doc", 1)