Questions tagged [winrar]

WinRAR is a commercial file archiver and data compression utility. Versions are available for Windows, Linux, FreeBSD and Mac OS X.

Filter by
Sorted by
Tagged with
2 votes
1 answer
1k views

WinRAR batch file for compressing the first subdirectory in each folder into a zip

I'm struggling to get a solution in place to scan all folders in a directory, and create a zip file within said folders of the contents of the first/only subfolder therein. here's an example folder/...
0 votes
1 answer
430 views

Unrar to same folder structure

Looking for a command do unrar all rar archived but extraction should be in each subfolder Structure Parent folder Sub folder 1 Archive 1 Sub folder 2 archive 2 I have tried this command 'C:\...
1 vote
3 answers
11k views

Delete SFX file after extraction

I created a SFX to extract some files. After the extraction, I need that the SFX file is deleted. As far as I have seen, WinRar does not offer such option. So I thought to run some DOS command -prompt ...
2 votes
1 answer
253 views

A text file list for each archive with relative name

To get a list of files inside a .rar archive I can use this batch @(for /R "%UserProfile%\Desktop\test winrar" %%I in (*.rar) do @"%ProgramFiles%\WinRAR\UnRAR.exe" lb "%%I&...
0 votes
2 answers
8k views

Automatically extract qBittorrent downloads

I want to automatically extract torrents downloaded with qBittorrent into the same directory. I have a bat F:\extrator.bat that contains. @ECHO off timeout /t 10 /nobreak set arg1=%1 ...
2 votes
1 answer
2k views

WinRAR how to know immediately if a compressed file is broken or incompletely downloaded by command line

I have WinRAR and using Windows 7 OS. It shows errors immediately like "Cannot open < FileName >" for the files which downloaded incompletely or broken when we open. But when I search ...
9 votes
5 answers
13k views

Add to ZIP option in context menu for WinRAR

With WinRAR installed, by default, your context menu (Right-click on file) says something like "Add directory to *.rar archive". It's very handy but not cooperating with other systems that handle zip,...
1 vote
1 answer
6k views

Rar is not recognized as an internal or external command

I installed winrar in D:\folderD, both at home, and at work. I have a .rar file in drive E:, E:\folderE\myfile.rar. So, at home I can successfully use the Windows Command Prompt in drive H: with the ...
0 votes
3 answers
18k views

WinRAR context menu's "Extract here" does not work in Windows 7

I recently installed Windows 7 Ultimate on my laptop and I am the administrative user. I have also installed WinRAR. Whenever I try to extract a RAR file using the 'Extract Here' option from the ...
44 votes
3 answers
150k views

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.
8 votes
4 answers
6k views

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 ...
2 votes
1 answer
9k views

Winrar command line compression ratio

I have a Winrar command line that look like this: "c:\Program Files\WinRAR\WinRAR.exe" a -afrar -s -m5 "e:\output.rar" "e:\foldertozip" The folder that I am compress by default is 9.08MB. The ...
3 votes
2 answers
6k views

Setting WinRAR to exclude files with the exact filename I specify from being extracted from an archive

How can I configure WinRAR to exclude files with the exact filenames: thumbs.db or .DS_Store (ignoring case) from being extracted from an archive (all directory levels within an archive)? Files with ...
0 votes
0 answers
352 views

How to only exclude the folders in the root

I want to exclude a folder and its content when i'm doing a rar command, the problem is, i only need to exclude the folder in the root, and i do not want to exclude any folder with the same name in ...
0 votes
2 answers
3k views

.zip file created on Mac giving error in Windows 7 upon extracting

My friend compressed lots of photos into a zip archive using a MacBook, and uploaded it to Dropbox. I downloaded the zip and when I try to extract using WinRAR it gives this error, but extracts most ...
0 votes
1 answer
1k views

Which file properties do RAR store?

Which file properties do RAR store? Do they store the "Date Created" and if so, how can I extract the files while preserving it? If not, are there other file formats that can do so?
1 vote
2 answers
11k views

How to delete zip file while unzipping it with WinRAR

I am going to unzip a 35GB zip file with winrar but i only have 37GB of space, so i will only have 2GB of space after downloading the zip file, how do i replace the zip after unzipping it instantly ...
0 votes
2 answers
804 views

How to Prevent WinRar from deleting temporary files?

is there any way when I open a document in a compressed file by double clicking it using WinRar to prevent temporary files deletion after closing the WinRar instance? I tried changing the extraction ...
1 vote
1 answer
2k views

How to extract file names from winrar file?

My winrar file contains about 106 files, I can't able to manual type all those file names into txt file. Is there way to extract all those files names (I don't need file extensions) into txt file ? ...
-1 votes
1 answer
980 views

How to silently execute exe file without a opening dialogue? [duplicate]

I hide two files with rar. An image file and an exe file. When I execute this I get exe file dialogue appearing on the screen. But I don't want to see it. How to do that? https://i.stack.imgur.com/...
2 votes
0 answers
209 views

How to use choco install winrar or other command to enable the cascaded context menu?

Context I use chocolatey as a package manager or software manager on different (remote) systems. WinRAR is also in my top 10 of software to be installed on new systems. I used ninite.com before, but ...
1 vote
1 answer
216 views

Very different compression rate with two similar files

I'm using WinRar to compress two text files, of approximately the same dimensions (80Mb), which contain a Json structured text. The text is generated by the same program and, inspecting it, it seems ...
2 votes
3 answers
8k views

WinRAR virus scan setup

I noticed WinRAR has the feature to scan archives for virus, however it appears to need setup. This is the window it presents with, how do you configure it for AVs like Windows defender? Also, is ...
0 votes
1 answer
1k views

Bulk edit SFX script

I create custom portable versions of apps using WinRAR's SFX module (among other things, the setup option Run after extraction). In the cases where 32-bit / x86 and 64-bit / x64 versions are available,...
3 votes
1 answer
7k views

Why is WinRAR 5 not giving me an option to use RAR5 format and only RAR4?

I just realized something. I recently purchased the WinRAR v.5.60 archive software: But when I right-click some file that I want to RAR and then click Add to archive, the popup window offers me only ...
0 votes
1 answer
949 views

Why do WinRAR and 7-Zip see different files when opening the same compressed file?

Example file jdk-7u67-windows-x64.exe is ~129MB (Oracle account is needed to download) When using WinRAR, it shows the total is 29,170,176B: jre.msi (~27.7MB) jre1041.MST jre2052.MST However, ...
3 votes
2 answers
8k views

Auto extract .rar files from qbittorrent with WinRAR command line CLI

After a torrent download on qbittorrent completes, I am executing an external program via the options menu: Tools -> Options -> Downloads --> Run external program on torrent completion "C:\...
0 votes
1 answer
822 views

Compress multiple folders with Winrar command line and batch

I want to compress all the folders that contain the word (Album), these folders have the following structure Michael Jackson\Invincible (Album) Michael Jackson\Thriller (Album) Luciano Pavarotti\'O ...
0 votes
1 answer
884 views

Extracting multiple rar files

I need to extract over 700 text files, is there a way you can extract the multiple files into one combined text file. They all have the same format so that is not an issue.
0 votes
1 answer
764 views

How do I change my folder structure using Rar.exe

I am building a rar command in code. I get a share and folder in a database call (\\BUServer1\Share01$\IHDEV01) and then I get a list of subfolders and extensions that I want to archive (FLATFILES*....
2 votes
1 answer
5k views

How to loop all files in powershell to zip every file to its old name

I'm trying to zip every file in a directory but I can't seem to get it to use the directory or the old file name. It needs to delete the old file so that it's protected in the zip file. This is what ...
0 votes
1 answer
2k views

RAR/ZIP Extract and Delete in Right Click Menu

In WinRAR, is there a way to use something like 'Extract And Delete Zip File' in context menu? I just need this option, it can be whether a batch file or another program that has this in context menu (...
5 votes
3 answers
24k views

How to extract data from a partially corrupt multi-part rar archive?

I downloaded a video that's 11 parts the other day. Today I tried to extract it but it tells me that part04 is corrupt. So I checked "keep broken files", but of course it only gave me the beginning of ...
-1 votes
2 answers
1k views

Bat file doesn't work correctly

I have this command on my bat file "c:\program files\winrar\rar.exe" a -agDD.MM.YYYY -cfg- -ep -p"123" "C:\Backup_.rar" "E:Backup" as you see I'm running winrar to compress my file. It works ...
0 votes
1 answer
3k views

Auto Zip folders to RAR files

Essentially I host all my music on an FTP so friends and family can access it with ease, and I can access it from abroad etc. But the only issue is that each track needs to be downloaded manually. I ...
1 vote
1 answer
4k views

How to provide list of possible passwords to winrar?

I have a list of possible passwords and bunch of rar files. As you suspect, I would like to open, unrar all those files using provided passwords but I don't know which password is related to which rar ...
-1 votes
1 answer
379 views

How to recover a recently saved powerpoint

I saved a powerpoint 10 minutes ago, and now i can only open older versions of it. Neither can i find it anywhere else, including "recent" under file options. I have one of 2 versions saved in a ...
-3 votes
1 answer
9k views

hoew do i combine files split and created by winrar back into original file (compressed zip package, i think)?

I have several folders of files created by WinRAR, I believe. They are files that exist in groups of 3, with extensions .0, .1, and .IDX. I have old data that I believe are old pictures or movies. ...
0 votes
1 answer
452 views

WinRar failing to grant adminstrative access to extracted script

For almost 10 years I have used WinRar to create an SFX archive of scripts that are used to run preventive maintenance on client computers. Some of the scripts make entries to the registry so I've ...
1 vote
1 answer
18k views

Why does Winrar eat up all free space?

I have about 35 gb free on my Windows 10 partition. I have a rar file that will extract to about 25 gb. When I try to extract it using Winrar, it ends up taking up all space on my hard drive despite ...
0 votes
2 answers
708 views

Is there any way to view compressed files? [closed]

I don't mean decompressed, I mean like open the compressed WinRAR or zip file as is (compressed) I want to view the gibberish zipped/Winrared file. without decompression. OS: Windows 10 Pro Thanks ...
2 votes
0 answers
3k views

Wrong password while extracting zip file [closed]

I had used C# code to create Password protected zip files, But while extracting all the files inside zip gets except one large txt file, and for that particular file all different tools (default ...
1 vote
2 answers
24k views

How to change password on RAR archive w/o modifying arch. files attributes (modified/created)?

How do I change the password of an .RAR archive, without changing the date/time attributes of the files in the archive? Unfortunately you can't directly change the password of the archive with WinRAR,...
3 votes
1 answer
7k views

How does WinRAR recovery record work?

I was trying to put up some protection against bit rot and WinRAR has the option to add a "percentage" of "recovery record" that claims to protect against data corruption. The only way I can think of ...
2 votes
3 answers
4k views

How can I compress every 10 files in a folder as a separate zip file?

I'm on Windows 10 and trying to work it out with Winrar. The folder contains 500 files, I would like to compress every 10 of them as a separate zip/rar file and create 50 zip/rar files. Is there a ...
0 votes
2 answers
2k views

Add author at SFX archive with WinRAR

For example: In "Autore" i want insert an author.
6 votes
3 answers
28k views

Winrar command line zip folder

I am trying to use WinRAR command line to zip folder: "c:\Program Files\WinRAR\WinRAR.exe" a -afzip "e:\output.zip" "e:\foldertozip\" If the foldertozip contains file, the command line works. But if ...
0 votes
1 answer
1k views

Extract files matching pattern from RAR archive

I have an RAR archive, and I want to extract all files with a three-digit number as an extension. I tried with Winrar but it does not accept REGular EXpression: winrar.exe e -y pinetinf pinet.[0-9*] ....
0 votes
2 answers
1k views

Compress and decompress files in windows explorer ftp client

I am trying to publish my website using ftp client in windows, but when I open windows explorer and open my ftp folder in the client side, I cannot zip or unzip my server files. Right-click does not ...
0 votes
1 answer
212 views

accessing files directly from SFX archive

Similar questions have been asked on this forum, but not identical, so I am sorry if this is a bit redundant. I have made a "portable" application. I used WINRar to create an SFX self-extracting ...