Re: File Compressed or not? by Alex
Alex
Fri Jan 04 01:22:00 CST 2008
Hi Alexander Grigoriev,
Thank you for your response.
DWORD dwFileAttributes = GetFileAttributes(TEXT("E:\\Test\\2.jpg"));
dwFileAttributes always 32 only for jpg or txt files like FindFirstFile
API.
Any idea?
--
Thanks & Regards,
Alex.
"Alexander Grigoriev" wrote:
> GetFileAttributes(), check for FILE_ATTRIBUTE_COMPRESSED.
>
> "Alex" <Alex@discussions.microsoft.com> wrote in message
> news:74F1039A-BE75-4A3A-BC21-3510DF14A8D7@microsoft.com...
> > Hi All,
> >
> > How to find a particular file is compressed or not? I tried with
> > FindFirstFile API. It always returns 32 as dwFileAttributes only. And
> > IsCompressed() of CFileFind. I couldn't success here also.The input of
> > this
> > module is complete file path. Is there any way to find whether it is
> > compressed or not?
> >
> >
> > --
> > Thanks & Regards,
> > Alex.
>
>
>