>I'm using API GetFileAttributes in an ATTRIB function in our package. If you've never used it before, for a read-only, archive file, GetFileAttributes returns 33 ( 32 for A + 1 for R ).
>
>On my machine, however, it returns 8992. Yup, 8 thousand, 9 hundred, ninety two. OS is Win2k.
>
>What can I possibly do to cure this little problem ?
I'd be curious to know what the WSH's FileSystemObject returns. If you're not familar with it
oFSO = CREATEOBJECT('Scripting.FileSystemObject')
oFile = oFSO.GetFile(lcfile)
? oFile.Attributes
George
Ubi caritas et amor, deus ibi est