EzDevInfo.com

winrar interview questions

Top winrar frequently asked interview questions

How to set password on already existing winrar archive and encrypt it also?

Not when creating new archive, but on existing archive. I would also like to know how to do that in other archiver.


Source: (StackOverflow)

Unzip .rar from command-line with 7-Zip

On the Windows command-line, I can extract archives like this:

7za e somefile.zip

I know 7-Zip supports .rar in the GUI, but can it be done in commandline mode?


Source: (StackOverflow)

Advertisements

RAR password cracker

Does the RAR file format use a serious encryption (such as AES)?

Will it take unfeasibly long to brute force a password?

If not, what tools do you suggest that do so automatically?


Source: (StackOverflow)

Possible to have WinRAR extract based on OS

We are trying to distribute an application using WinRAR. In Windows 7 the application needs to go to Program Files (x86); in XP it needs to be extracted to Program Files. Is there a way to make WinRAR test the OS, make that distinction and extract the files to the correct place?


Source: (StackOverflow)

What is the reason for 7-zip / WinRAR to first unzip files to "temp" and then move them to destination?

What is the reason for 7-zip / WinRAR to first unzip files to "temp" and then move them to destination?

I do not see any advantage against just directly unzipping to destination. It is really irritating, especially for large files (as it is now!).


Edit:

Please explain why they are not done in place.


Source: (StackOverflow)

Does WinRAR detect duplicate files?

I have a directory with subdirectories, and a lot of duplicate files in them. If I move everything to a single rar archive, will WinRAR detect the duplicate files, or will all of them be archived and add up to the size of the rar archive?


Source: (StackOverflow)

How is it possible that WinRAR can repair any volume with one .rev file?

I just learned about .rev files with WinRAR -- where if you have a 10-part RAR volume, for example, plus one .rev (recovery) volume -- the .rev volume will be able to "fix" any one corrupted .rar volume.

How is this possible? I don't understand how one volume could have all the data to fix any/all of the individually broken volumes.

I'd guess that it's perhaps possible in lieu of the volumes not being broken up "linearly", like I'm imagining, where each RAR volume holds distinct, individual files of the whole packed within; but rather, perhaps .rev repairing is possible when the RAR volumes are viewed as one continuous file of bits and bytes, so to speak, and that perhaps there's some CRC'ish sorcery (ah hem, "repair work") involved to fix corrupted bytes.

But I just don't understand how you can have 9 working volumes with 1 damaged, yet have a recovery volume that can repair any one of the volumes. How is one volume able to hold data of "all" the volumes?


Source: (StackOverflow)

How to make 7-Zip faster

I normally use WinRAR over 7-Zip simply because it's faster and only a little less efficient with compression. I did a few tests on different filetypes and sizes comparing the 7-Zip and WinRAR default settings on their normal compression and their best compression, and in a lot of cases WinRAR was 50% faster and in some it was actually 100% faster. But, I do like FOSS more. So here are my questions:

  1. Is there a way to make 7-Zip speed up? I'd like it to at least be on par with WinRAR's speed
  2. Is there a way to make recovery segments in 7-Zip like you can in WinRAR? I didn't see any, but I guess it could be a command line thing.
  3. I tested WinRAR and 7-Zip using the latest stable version of each (4-dot-something with 7-Zip). Is the 9.x beta release noticeably faster at compression?

I'm talking about faster at a comparable setting in WinRAR, not just lowering to bare minimum compression.

If it matters, I use a quad core Intel i7 720 (1.6 GHz)/(2.8 GHz) with 4 GB DDR3 RAM, and the 64-bit version of 7-Zip, and dual-boot Debian x64 5.0.4 and Windows 7 Home.


Source: (StackOverflow)

Can I remove a RAR file's (known) password without recompressing the archive?

Long title. Anyway, I haven't been able to find an answer to this question.

I know the password to the RAR file, I locked it myself, but now all I want to do is remove the password because it's too much of a pain in the butt to type it in every time. Is there a way to do this in WinRAR or an equivalent program? The only thing I knew to do was to extract it, then create a new RAR without the password.

It's not a life-or-death issue, but it would be nice to know. Thanks for your time!

EDIT: I just saw a bunch of related questions that appear to ask the same thing. The only solution I saw was using a DOS command to yadda yadda yadda. Here it is: How to remove password protection from compressed files

Is there an easier way? Thanks again!


Source: (StackOverflow)

Extract software from multiple archives with WinRAR

I downloaded some software that was split in five parts that I cannot extract using WinRAR.

Each part is around 110 MB. The file format of each part is .zip. I have extracted all the parts in a separate folder. In each there is an .exe file of that software and therefore, there are five .exe files in total. When I try to open it, it says

The application failed to initialize properly

The files are in the format:

  • Software1.rar zip
  • Software2.rar zip, etc.

How do I extract these files using WinRAR?


Source: (StackOverflow)

How to extract multipart rar with missing parts?

I have a multipart .rar archive containing a single .tar.gz file inside it (don't ask why, that is just how it was made). I am missing a few of the parts, but do have the first part. I would like to extract as much of the .tar.gz as possible. How can I do that?

If I run unrar x -kb file.part1.rar it always extracts the beginning of the .tar.gz from part1 and stops there with an error. I am happy to try any tools (doesn't have to be unrar).


Source: (StackOverflow)

WinRAR Context menu and file type detection of Windows

So far I know Windows display context menu based on the file extension rather than the file type. I just tested with empty text file with mp3 extension with winamp and the result is below:

Winamp context menu

The same way I test empty file with extension exe and Windows gives me context menu like "Run as Administrator" and so. Executable's context menu

But if I create a sfx archive which has the same exe extension, how Windows gives me different icon and WinRAR gives me special context menu like "Extract here" as shown in the below picture?

SFX context menu

My question is either Windows readers file header and represents relevant data or WinRAR has any special file detection scheme? I doubt that second one, since during the context menu creation WinRAR didn't invoked.

Another question is if it's because of Windows's behavior to read headers (like it creating thumbnail for pictures or videos), now extension has less importance? Don't they have any influence in context menu?


Source: (StackOverflow)

Where Does WinRAR extract files opened directly?

When I open a .docx file directly from a RAR archive using WinRAR, where does WinRAR extract the file? My OS is Vista. RAR version 3.9.


Source: (StackOverflow)

How do I split a large WinRAR file using WinRAR?

I have a .rar file, (already compressed) and I need to split it. Can this be done through the WinRAR UI?


Source: (StackOverflow)

How efficient is using WinRAR to password protect a file?

I have a a file with important data that I want to password-protect. I basically want to be prompted for a password every time I try to open the file. I tried TrueCrypt but it doesn't seem to prompt for a password every time you try to open the file (well, unless I missed something).

As a simple workaround, I decided to use WinRAR for this task (by adding a password to the archive). It works great and all but I have a little concern. Everytime I open a file with WinRAR it decompresses the file to a temporary folder. Now I'm worried that the data can be accessed in the temporary folder. I don't know if WinRAR deletes the content of the temporary folder later but even if this is the case the content can still be accessed by some utility (one of those utilities that allow you to view/save deleted files) so it doesn't seem like a secure option to me.

My questions are, is my understanding about how WinRAR works correct? If so, is there another simple (and secure) way to password protect a file?


Source: (StackOverflow)