Board Logo

Problem with FileAttributes on Mac
begoo - 3/3/2006 at 02:12 PM

Hi,
i have a problem to recognize a directorie in a Zip made by an Apple Computer.

With a PC, no problem, (FileAttributes And 16) is always true for a directorie.
But with a Mac, the FileAttributes return is 1107116032 and so, not work with number 16.

Do you have a solution to recognize Mac directorie whith FileAttributes or other, without do a specific code like :

If (objZip.FileAttributes(Index) And 16) Or (objZip.FileAttributes(Index) = 1107116032) Then
......
End If

Thank a lot for your answer.


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/