楼主:
gecer (gecer)
2014-12-15 21:40:50小弟最近参考一个更改file property的程式
http://stackoverflow.com/questions/750679/how-do-you-make-a-file-writeable-in-
vb
Dim fso As New FileSystemObject
Dim fil As File
Set fil = fso.GetFile("C:\foo.txt")
If (fil.attributes And vbReadOnly) Then
fil.attributes = fil.attributes -vbReadOnly
End If
小弟watch fil.attributes =32 如果是唯读的档案 但是为什么
32 and 1 =0 ?
请问在这里and的作用