48 is 16 + 32, so it means it has the attributes of directory and archive.
To check if your attribute is set, do something like
GetAttr(filename) AND 16
A non-zero result means it is set.
HTH
Bob
"turnerje" wrote in
message ...
I am using the GetAttr constant, with the reference being "P:\", and it
returns 48, when I would expect 16, because it is a directory. What
does the 48 reference to?
I know what the constants 0,1,2,4,8,16,32 mean. Is there a full listing
somewhere? I have also recieved the constant 22 for my "C:\"
Many Thanks in advance
Justin
--
turnerje
------------------------------------------------------------------------
turnerje's Profile:
http://www.excelforum.com/member.php...o&userid=25694
View this thread: http://www.excelforum.com/showthread...hreadid=473066