max文件属性设置,
之前一直都没找到 用到的时候就是用net 弄了。哎。还在开发东西都是在9上面,
这次脚本必须在 max8 上面 逼的我找到了他
getFileAttribute <filename_string> <attribute>
setFileAttribute <filename_string> <attribute> <boolean>
Get and set the attributes associated with a file.
The get function returns true or false depending on the state of the specified attribute.
The set function sets the state of the individual attribute specified (leaving other attributes as they were).
The valid <attribute> values are:
#readOnly
#hidden
#system
#directory
#archive
#temporary
#normal