SetFileAttributes
|
|
概要: |
baSetFileAttributesはファイルの属性を設定します。 |
シンタックス: | Result = baSetFileAttributes( FileName ,
Attributes ) |
パラメータ: | #string, #string FileName 属性を設定したいファイルの名前。 Attributes 設定する属性。 下記の組み合わせで指定します。 "r" 読み取り専用 "a" アーカイブ属性 "h" 隠しファイル "s" システムファイル 空のストリングを指定するとすべての属性を削除します。 |
戻り値: |
#integer |
例: | OK = baSetFileAttributes( "c:\data\student.dat"
, "rh" ) -- 読み取り専用の隠しファイルにします |
関連項目: | baFileAttributes |