winrar

Windows下解压.tar.gz文件

核能气质少年 提交于 2019-12-20 16:28:30
1.下载并安装7-zip; 2.选中.tar.gz文件,右击选择“7-zip”–>“提取到当前位置”,.tar.gz文件就被转化为.tar文件; 3.tar文件使用WinRAR解压就好了 来源: CSDN 作者: zkw_1998 链接: https://blog.csdn.net/zkw_1998/article/details/103630808

How to create self-extracting RAR archive not showing anything on execution?

随声附和 提交于 2019-12-17 16:45:25
问题 I am trying to create a self-extracting archive that extracts to "%USERPROFILE%\Desktop" with WinRar. However, when I run it, it extracts to the SFX's current directory, not my desktop. Does the path to extract option work at all? I'm using the 32-bit command line module. I also checked the 'hide all' box for silent mode which appears to do absolutely nothing and the command prompt window still appears with showing information on what is extracted. I want that SFX archive extracts the .exe

How to compress each subfolder in a folder into a separate RAR archive using WinRAR?

橙三吉。 提交于 2019-12-14 03:57:34
问题 I am really new to batch file coding and need your help. I've these directories: c:\rar\temp1\xy.jpg c:\rar\temp1\sd.jpg c:\rar\temp1\dd.jpg c:\rar\temp2\ss.jpg c:\rar\temp2\aa.jpg c:\rar\temp2\sd.jpg c:\rar\temp3\pp.jpg c:\rar\temp3\ll.jpg c:\rar\temp3\kk.jpg And I want to compress them to this c:\rar\temp1\temp1.rar c:\rar\temp2\temp2.rar c:\rar\temp3\temp3.rar How could this be done using WinRAR? 回答1: This can be done also with WinRAR without using a batch file, not exactly as requested,

Set an application's resource limits (CPU usage)

為{幸葍}努か 提交于 2019-12-13 08:22:02
问题 It's a little strange I know, but I want to limit a program (for example the winrar app) resource usage. The reason: I have an old laptop, with overheating problem, so if I want to do a calculate intensive task (compress a >10GB folder), my laptop overheats and turns off. The question: Is it possible to limit an application's resource/CPU usage? For example, can I set somehow, that winrar can only use my CPU's 50%? I use windows 8.1, but answer for other OS is welcome. 回答1: See Are there

Error when creating Zip file using DotNetZip: Unexpected end of archive

巧了我就是萌 提交于 2019-12-13 07:06:39
问题 I have a method that zips up one or more files using DotNetZip, and it has been working correctly. I received an error for the first time today and it appears to be related to the total size of the archive. Using the same 60mb .tiff image, I would add a few extra copies, test, repeat. It worked fine until about 10 images were added, then, when I opened the Zip file using WinRar, I would get the "Unexpected end of archive" error. Testing in this manner, I believe I've ruled out the problem

How can I identify a WinRAR SFX using a binary signature of some sort?

巧了我就是萌 提交于 2019-12-12 20:02:00
问题 I'm looking for an answer similar to the one in this question, but for WinRAR instead of 7zip. Essentially I want an authoritative signature that I can say at least "All WinRAR generated self-extracting executables created with the Default SFX file in version 420 will have bytes 0x15, 0xa1, 0x45, 0xcc, 0x21, 0x98 at location 0x00027400, and other NON SFX files are unlikely to have this signature". Even better, if the same signature can be found in all versions of the WinRAR SFX files, even if

Batch script to move compress and delete files

流过昼夜 提交于 2019-12-12 04:37:22
问题 I have a batch script that does the following @ECHO OFF REM move files older than 2 days from the incoming directory to the incoming archive directory robocopy D:\Agentrics\integration\download D:\Agentrics\integration\download\archive /MOV /MINAGE:2 REM Zip files in the Archieve directory that are older than one week FOR %%A IN (D:\Agentrics\integration\download\archive\*.txt*, D:\Agentrics\integration\download\archive\*.cpi*) DO "C:\Program Files\WinRAR\WinRAR.exe" a -r -to7d D:\Agentrics

Script to compress contents of a folder once per month into an archive and then delete

梦想的初衷 提交于 2019-12-12 02:07:11
问题 I need a script to backup the contents of a directory including sub folders to a single archive file. I would like to run this script on a monthly schedule (will use task scheduler), so every 30 days the script compress the contents of the folder and create a NEW archive file with the month as the name of the file and then delete the files/subfolders. Ive put together a mixture of coding I found online, this is the product. The code functions as desired, just not sure if the logic is there.

Compress several subfolders with batch file (win7)

断了今生、忘了曾经 提交于 2019-12-11 19:52:35
问题 Here's what im trying to achieve using WinRar and Windows batch file: I have this folder structure main_folder - SubDir - Another_Sub_Dir - Subdir_2 etc |Note: there are no sub-folders inside sub-folders| archives_folder - On batch run I need all sub-folders inside main_folder to be compressed and then sub-folders deleted. The compressed folders should go inside archives_folder . 回答1: You can use following command line: "Path to WinRAR program files directory\Rar.exe" m -agYYYY-MM-DD_N -cfg-

How to read the rar file comment on linux command line

…衆ロ難τιáo~ 提交于 2019-12-11 13:16:50
问题 I have foo.rar , and I want to read the file comment Comment example on Windows: How to do it in Linux command line? 回答1: Try: rar v archive.rar fname | grep Comment: should work for a one-liner comment. If the comment spans multiple lines you will need more sophisticated output parsing. 来源: https://stackoverflow.com/questions/36943812/how-to-read-the-rar-file-comment-on-linux-command-line