How to get attributes of compressed files

Hi, I want to get the file attributes of compressed files in a archive                                        
like ZIP, ARJ or LZH...                                                                                      

Would be very happy about a listing in ASM or PASCAL.                                                        

Thanks a lot...  Peter Troxler