Questions tagged [winrar]

WinRAR is a trialware file archiver utility for Windows.

253 questions
7
votes
2 answers

7zip ISO extraction

I have been trying to extract an ISO image through 7zip and WinRar. Here is the command line that I used: 7z x -y "%Isocontents%\ISO.iso" -o%Newfolder% WinRar.exe x -y -ow "%Isocontents%\ISO.iso" "%Newfolder%" Entire project uses generic batch /…
minu
  • 107
  • 1
  • 1
  • 5
5
votes
1 answer

How can I automate the building of this Winrar Sfx File

After building my appplication on Windows using maven (and a little bit of ant) I manually create a Winrar Sfx Installer as follows: Select files, right click and select Add to Archive Use Browse.. to create the archive in the folder above Change…
Paul Taylor
  • 12,050
  • 34
  • 149
  • 295
5
votes
5 answers

Batch file to compress subdirectories

I am trying to write a batch script that will run automatically compressing subdirectories using winrar or 7-zip: Example: My Pictures Pics1 (Pics1.zip) File1.jpg File2.jpg File3.jpg Pics2 (Pics2.zip) …
4
votes
2 answers

How does WinRAR perform a compression ratio check?

E.g. how can it tell that a 4GB text file can be compressed to, say, 200MB? Obviously, it doesn't read all of the contents in 2 or so seconds... so what kind of predictive algorithm(s) does it use?
Stan
  • 69
  • 1
  • 4
4
votes
2 answers

How to calculate CRC of a WinRAR file?

I know CRC calculation algorithm from Wikipedia. About structure of RAR file I read here. For example, there was written: The file has the magic number of: 0x 52 61 72 21 1A 07 00 Which is a break down of the following to describe an Archive…
Doman
  • 51
  • 1
  • 5
4
votes
2 answers

Split to volumes using batch

I am using the following command in a batch file in order to archive MY_LARGE_FOLDER and my .rar file is too big: WinRAR a -r D:\MY_LARGE_FOLDER.rar D:\MY_LARGE_FOLDER\*.txt D:\MY_LARGE_FOLDER\ How can I archive MY_LARGE_FOLDER, into small .rar…
Popa
  • 213
  • 1
  • 4
  • 11
4
votes
2 answers

How to use WinRAR through Batch?

I need some help with a batch file because I am stumped on WinRAR in Batch, as I haven't done/used it before. Here is the TREE of my Folders including the batch file: Each RAR file has the same Directory folder name("vegies" folder). I would like…
Burgo855
  • 230
  • 1
  • 5
  • 17
4
votes
1 answer

Compressing files with WinRar command-line - files in use

I am using this simple command to zip files into an archive with WinRar. winrar a -afzip -ep1 "C:\ok.zip" "C:\ok" But if something is running (for example a simple .exe) from that directory it gives me error: "The process cannot access the file…
Mohsin Javed Cheema
  • 618
  • 1
  • 7
  • 14
4
votes
1 answer

How do i protect my sfx from being opened by other winrar, winzip, 7zip applications?

How do i protect my sfx from being opened by other applications like winrar, winzip, 7zip, etc? I want to add password if it is opened by other applications like winrar? My sfx should never ask for password if it is directly executed. I tried…
vxpoisongas
  • 69
  • 11
4
votes
1 answer

Packing (WinRAR) with a password on a group of files

I'll try and make this as short as i can. I'm looking for a .bat file to rar up and password folders with files in them, but the problem is a little more tricky than i thought, each folder can have anything from 1 to 400 files in it, i have two…
David Axwell
  • 41
  • 1
  • 4
3
votes
2 answers

How can I call WinRar in Python on Windows? STILL Problematic

Using the zipfile module I have created a script to extract my archived files, but the method is corrupting everything other than txt files. def unzip(zip): filelist = [] dumpfold =…
Alex Oulton
  • 187
  • 4
  • 11
3
votes
2 answers

Java ZipOutputStream only deflate certain files / deflate filter

This is a two part question, really. Preface: I use WinRAR to compress files. It gives you the option of only compressing certain files. I can filter by file extension so that, say, JPEG files are not compressed, while other files are. Can this be…
Scott
  • 365
  • 2
  • 8
3
votes
2 answers

Activate winrar from CMD in silent mode

I'm working with matlab and call CMD to run winrar in order to extract files. I want to do the extracting process in silent mode - means to not see the popup reporting on the progress (image attached). Any ideas? I have tried to use -s or /s…
erez
  • 323
  • 1
  • 4
  • 14
3
votes
1 answer

Powershell and winrar command line

So after digging around for a day or so I have found not much information about powershell and extracting files with winrar's command line. My difficulty lies with the actual execution of the arguments and command line. Here is my simple code so…
Ben
  • 31
  • 1
  • 1
  • 2
3
votes
1 answer

How to unpack all rar archives in all subfolders of a folder and then delete the archives?

I want to unpack all files in some subfolders which are in a main folder, delete the xxx.rar files after unpacking and move the folder with the files to another location. Main Folder Sub Folder1 (with .rar files) Sub Folder2 (with .rar files) Sub…
BASF
  • 147
  • 2
  • 17
1
2
3
16 17