1
I have a compressed file but I don't know what it's compressed with. The extension doesn't give any clue. How can I find out what it is?
1
I have a compressed file but I don't know what it's compressed with. The extension doesn't give any clue. How can I find out what it is?
5
You don't say which operating system you're using.
If you were using a Unix-like OS, you could try
$ file filename*
filename.exe: MS-DOS executable PE for MS Windows (console) Intel 80386 32-bit
filename.png: PNG image data, 2160 x 934, 8-bit/color RGB, non-interlaced
filename.rar: RAR archive data, v14, flags: Archive volume, os: Win32
where filename*
is the name of the file(s) you want to check. Note that this program works by examining the file data, not the filename extension, so it would give the same output for filename.rar
if you renamed it filename.zip
.
file
is also available from many Unix-tools-on-Windows providers, including Cygwin and UnxUtils and possibly GnuWin32. added sample output to your example. – quack quixote – 2009-12-31T11:59:20.613
3
7-zip is known to open a very wide array of compressed files, you can try with it.
Also, you could check the file in some simple text editor, often the file type is written in the first letters. Maybe you could have more informations that way.
Try the portable version of 7-zip if you don't want to install it. http://download.cnet.com/7-Zip-Portable/3000-2250_4-10834959.html
– Nifle – 2009-12-31T12:22:08.5732Already tried that. 7-zip doesn't recognize what it is. – Phenom – 2009-12-31T12:37:00.750
0
Use WinRAR - can you download a free trial version and it does not expire or stop you from using it after the trial is over.
To confirm this, I created a .zip file with .xls and .pdf files. After I removed the .zip extension from my file. I then opened my archive without an extension in WinRAR and it opened the archive and showed me the files in the archive.
3What extension do you have? – Gnoupi – 2009-12-31T10:30:34.320
I'm guessing he doesn't know the extension, cause it is renamed to something like 001, or whatever. – Rook – 2009-12-31T13:31:40.200
How do you know it's a compressed file? – RJFalconer – 2009-12-31T15:17:22.717
I know it's compressed because the person said so. The challenge is to figure out how to uncompress it. – Phenom – 2009-12-31T20:22:35.317