winrar

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

馋奶兔 提交于 2019-12-04 03:47:12
问题 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 .txt files, one with the desired number of.rar file names and one with the desired number of .rar passwords, so txt doc's look like this, first is filenames.txt : FAD01 FAD02 FAD03 and so on up to FAD110 and another .txt file GAP01 GAP02 GAP03 GAP04

Batch file to compress subdirectories

◇◆丶佛笑我妖孽 提交于 2019-12-03 16:30:52
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) File4.jpg File5.jpg Pics3 (Pics3.zip) File6.jpg File7.jpg ... How do i write script. (1) Using WinRAR: WinRAR includes two command-line tools, rar.exe and unrar.exe , where rar.exe compresses and unrar.exe uncompresses files. Both are located in the C:\Program Files\WinRAR folder in the installable version. Assuming, if there are multiple subfolders under C:\MyPictures and you want each subfolder

How to extract ZIP files with WinRAR command line?

微笑、不失礼 提交于 2019-12-03 15:39:13
问题 While trying to extract zip files I get the error: c:\path\name.zip is not RAR archive No files to extract My code is: p.StartInfo.FileName = @"C:\Program Files\WinRAR\rar.exe"; p.StartInfo.Arguments = string.Format("x -o- {2} \"{0}\" * \"{1}\"\\ ", szFN, outFolder, passWord == null ? "" : string.Format("-p\"{0}\"", passWord)); The GUI version can extract zip and 7z files. Why doesn't this work? How can I extract zip and 7z files? (NOTE: I have different source code for 7zip. I guess I can

How do I make a self-installing executable using WinRAR? [closed]

爷,独闯天下 提交于 2019-12-03 11:55:41
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . I've seen executables that extract themselves and run a compressed setup.exe afterwards: a double click on the file uncompresses it and then runs the formerly compressed setup.exe . How can I accomplish this? I would like to use WinRAR, how can I make a self-extracting executable that runs the compressed setup.exe

How to extract ZIP files with WinRAR command line?

喜欢而已 提交于 2019-12-03 05:17:52
While trying to extract zip files I get the error: c:\path\name.zip is not RAR archive No files to extract My code is: p.StartInfo.FileName = @"C:\Program Files\WinRAR\rar.exe"; p.StartInfo.Arguments = string.Format("x -o- {2} \"{0}\" * \"{1}\"\\ ", szFN, outFolder, passWord == null ? "" : string.Format("-p\"{0}\"", passWord)); The GUI version can extract zip and 7z files. Why doesn't this work? How can I extract zip and 7z files? (NOTE: I have different source code for 7zip. I guess I can merge the two and only use the above when the file has a rar extension. But I don't like that solution.)

use winrar command line to create zip archives

戏子无情 提交于 2019-12-03 04:05:08
问题 I'm using the following winrar command line to create zip archives: rar.exe a -df -ep -ag[yyyyMMddhhmmss] -ms[txt] C:\MyZipFile.zip C:\tmp\MyFiles*.txt The archives created are in RAR format instead of ZIP. Is there a way to create regular ZIP and not RAR archives? 回答1: Make certain you are using WinRAR.exe and not Rar.exe. If you are using the command line to do this make sure you type: winrar a -afzip c:\test.zip c:\test.csv not: a -afzip c:\test.zip c:\test.csv It works for me. I also got

How do I make a self-installing executable using WinRAR? [closed]

怎甘沉沦 提交于 2019-12-03 02:13:08
Closed. This question is off-topic. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it's on-topic for Stack Overflow. I've seen executables that extract themselves and run a compressed setup.exe afterwards: a double click on the file uncompresses it and then runs the formerly compressed setup.exe . How can I accomplish this? I would like to use WinRAR, how can I make a self-extracting executable that runs the compressed setup.exe after unpacking it to a temporary folder? New Archive, set to SFX mode. Go to Advanced tab, SFX Options

WinRAR 常用变量列表

匿名 (未验证) 提交于 2019-12-03 00:15:02
%SystemDrive% %SystemRoot% 操作系统根目录。如 C:\WINDOWS %windir% 操作系统根目录。如 C:\WINDOWS %ALLUSERSPROFILE% %APPDATA% %ProgramFiles% %CommonProgramFiles% %HOMEDRIVE% 操作系统所在的分区号。如:C: %HOMEPATH% %USERPROFILE% %WINDIR%\SYSTEM32\config %ProgramFiles%\Adobe %CommonProgramFiles%\Macromedia 来源:博客园 作者: Bit5566 链接:https://www.cnblogs.com/bit5566/p/11739045.html

最简单 WinRAR 永久VIP 破解

≡放荡痞女 提交于 2019-12-02 21:30:57
1.首先去官网或者其他途径下载WinRAR。作者使用5.7版本已完美破解。 2.在电脑任意位置新建一个txt文档并输入以下内容 RAR registration data VIP Unlimited Company License UID=5b717c9f9202afe6fcd0 6412212250fcd07556c26853de15f5fff458cf288d43270e566986 274e45035896bc8be51860fce6cb5ffde62890079861be57638717 7131ced835ed65cc743d9777f2ea71a8e32c7e593cf66794343565 b41bcf56929486b8bcdac33d50ecf7739960f2bf6c894e40fd71e8 cda62bbe8ed82dfd9e211e40336def4143660924152fdfc9a485b2 31f8beb11acb6786bb22573c061826b15b9ccaf04398b3c8606c82 3c6f2fe22da60740bbd11552e796c007d8f4993e7f651735357995 修改文件名为rarreg.key,一定得改为.key文件类型。 3.打开WinRAR,怎么打开呢?最简单方法是用WinRAR打开任意压缩包。 4