Solved

Looking for a Windows XP command line to show if files in a directory are compressed.

Posted on 2011-09-26
1
279 Views
Last Modified: 2012-05-12
Is there a command line tool that can show the attributes for a file/directory/tree that will show the compressed attribute?

I want to get a list of files on one of the servers, but filter it to those that haven't been compressed (with the compressed attribute - not ZIP/RAR/gz/etc.)

ATTRIB only deals with RASH (ReadOnly, Archive, System, Hidden), so nothing changed there since 1980 or so.

0
Comment
Question by:RQuadling
1 Comment
 
LVL 40

Accepted Solution

by:
RQuadling earned 0 total points
ID: 36599443
Why is it that the next thing I try and search on gets me the result.

The command is COMPACT.

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/compact.mspx?mfr=true
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Can you find a fax from a vendor you saved a decade ago in seconds? Have you ever cursed your PC under your breath during an audit because you couldn’t find the requested statement or driver history?  If you answered no to the first question or yes …
Introduction: Recently, I got a requirement to zip all files individually with batch file script in Windows OS. I don't know much about scripting, but I searched Google and found a lot of examples and websites to complete my task. Finally, I was ab…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now