WinRAR is a trialware file archiver utility for Windows.
Questions tagged [winrar]
257 questions
2
votes
2 answers
How do I set SFX option when creating one from the command line?
Here is my batch file command:
set rar_path=C:\Program Files\WinRAR
"%rar_path%\rar" a -sfx "MyArchive" Folder1 Folder2 File1.exe File2.exe
How do I set the sfx creation options? Specifically I want the self-executable to auto-run a file after it…

Bill Software Engineer
- 7,362
- 23
- 91
- 174
2
votes
2 answers
How to sync many small files between two far away sites with limited slow network? Can I use git to accelerate this work?
How to sync many small files between two far away sites with limited slow network, and site B have old copy of site A. Can I use git to accelerate this work?
Usually I like use winrar to add site A data to pakage and robocopy to site B, but this…

solaris2008
- 21
- 2
2
votes
2 answers
Problem in running an exe file in command line when there is space in paths of files
I tried to automate archiving folders inside a directory with Winrar through Windows 10 command line either by Python or VBA codes. Considering that there might be spaces, I enclosed all paths in quotations.
However I ran in to the same error in…

Leo Sam
- 83
- 1
- 12
2
votes
1 answer
How to compress folder into an archive file by command line without knowing the full name of the folder?
I have to compress some folders every month that always start with the number of the referenced month followed by a -.
For example:
April: folder is 04- ??????
May: folder is 05- ???????
I just know the first part of the folder name. The rest of the…

Black Mamba
- 247
- 1
- 12
2
votes
2 answers
Extract a JAR file, possibly with WINRAR on CL
I need to be able to extract jar files on the command line.
Piece of cake, you might say. Yes, except I need the extractor to rename same-named files.
To be specific, the Jar file has a file named:
classAX.class
and another…

Kurt Nauck
- 339
- 4
- 15
2
votes
1 answer
I can't create self-extract file with WINRAR because Defender says it's a trojan named Wacatac
I'm trying to create a self-extract EXE to run my installer program, which is conformed by 3 files so I need to pack it for distribution.
The problem is that once the file is created using WinRAR, it's automatically deleted by Windows Defender…

otrejni
- 1,022
- 7
- 12
2
votes
4 answers
Read All File Names from a .rar File in Node.js
I have an express route, that uploads files, that are sent to the server via formData.
Supposing the file is a .rar file, my goal is to extract all file names, that are inside this archive or it's subfolders.
This is how my express route currently…

Florian Ludewig
- 4,338
- 11
- 71
- 137
2
votes
1 answer
Unable to run self-extracting installer - Unable to access jarfile C:\Users\Ray\AppData\Local\Temp\RarSFX0\install.jar
I have a Java application, the Izpack installer is wrapped with launch4j64bit and then bundled as a self-extracting ZIP, created with WinRAR 5.20 using a method as described in an answer on How do I make a self extract and running installer?
It…

Paul Taylor
- 13,411
- 42
- 184
- 351
2
votes
2 answers
How to create a RAR archive with date of the archived folder in archive file name?
The cloud service Dropbox used by me does not preserve the original time stamp of uploaded folders. I have to use the WinRAR to compress the folder to backup in the cloud to keep the original folder date/time before I upload it to Dropbox. But I…

Tangent Lin
- 35
- 1
- 6
2
votes
2 answers
How to use Rar or WinRAR for creating an encrypted archive with a password starting with a double quote?
I am trying to create a command line to compress as RAR file using password through command line in Windows 7. I have installed WinRAR 5.31 x64.
The following command works for me:
rar a -r -m0 -hp"!(/!$!#!#=)\%" C:\files1.rar" *.*
The password is…

felipe
- 101
- 1
- 2
- 9
2
votes
1 answer
How to create WinRAR, RAR file via command line with a certain profile
I'm referring to the profiles visible in the GUI version of the application. Can these be accessed via command line? I'm trying to create a RAR file via scheduled batch script. Thank you very much.

Slbox
- 10,957
- 15
- 54
- 106
2
votes
2 answers
How to create subfolder on RAR/ZIP extraction if archive does not have one?
I have a lot of RAR or ZIP archives to decompress. Some of the archives contain a single folder with all files in this folder. Some other archives have all files at root level.
Case 01
Archive01.rar
MyFolder
file01.txt
file02.txt…

Nexus Fred
- 63
- 1
- 10
2
votes
1 answer
Multi line comment in ZipArchive
I am trying to set a multi-line comment with ZipArchive.Below is a simplified demo.
setArchiveComment($comment);
I then open the zip file with Winrar…

user2650277
- 6,289
- 17
- 63
- 132
2
votes
4 answers
How to distinguish between normal exe file and self-extracting file in C#?
I want to detect exe file that created with zip tools? like 7z or WinRAR or ..., I mean SFX (self-extracting executable) files
So I have to find a way to distinguish between normal exe files and SFX files in C#?
Are there any ways to detect them in…

Mohammad Dayyan
- 21,578
- 41
- 164
- 232
2
votes
1 answer
How to create a RAR archive with current date in archive file name?
I have folder D:\data with lots of subfolders and files and I want to archive this folder with a batch file to a specified directory with current date added in archive file name, e.g. F:\11.08.2016_data.
My command line is so far:
"C:\Program…

Levan Berishvili
- 23
- 1
- 1
- 3