UPX compression

zhaozj2021-02-11  188

UPX is a very excellent compression tool. It not only supports compression including EXE, DLL and other file formats, but also high compression ratios, completely free of any functional and time limitations. Some documents can even compress about ten percent of the original size, which is even more than Winzip, WinRAR and other compressed predecessors. According to the author's experience, the general EXE file can compress one percent high. Another big feature of it is that the compressed file is directly available without manual decompression, and can be directly executed like an EXE file. The so-called manual decompression is used, because when you perform a program that uses the UPX compressed program, the system is automatically decompressed to the original file. Although it is theoretically, it has been decompressed time, but it can't experience it at speed! Sarre to the UPX, it should also talk about its shortcomings. The latest version 1.20 seems to be specifically DOS design, still adopting the compression method of the command line. That is to say, you must enter: UPX file path and file name under DOS, this efficiency is obviously not high, you must enter the MS-DOS input command every time you want to compress a file, and do not support batch compression. It is also a lot of computer beginners who have not been exposed to DOS, and if there are dozens of compressed files, hey! Then you have to spend a few hours. This article is revealed by software such as Winzip, WinRAR, why can't we add an "UPX compression" in the right mole menu? (Refer to Figure 1)! To do it, do things you add in the right mole menu or modify the registry. Because UPX provides a variety of compressed formats, it is clearly not available to files that except for extensions, so the author adopts this item in all files. First, please create a text and enter the following:

Regedit4

[Hkey_classes_root / * / shell / UPX compression] [HKEY_CLASES_ROOT / * / Shell / UPX Compressed /command]@="d://upx//upx.exe -9% 1 "

D: //upx//upx.exe is the saving path on the hard disk, -9 is the internal parameters of UPX, its function is to adjust the compression ratio, with 1 to 9 options -9 is the highest compression ratio, of course, slowest. ) Then import this registry after saving Yasuo.reg files. After restarting, click on a file to try it, the exciting "use UPX compression" finally appeared. Click Start to see (as shown in Figure 2), the system has begun to compress this file, and display the compression ratio, you just steal the music! If you want to compress a batch, then it doesn't matter, just start multiple UPX together as long as you cooperate with the Ctrl and Shift keys to select multiple UPX, but don't be too greedy! There are too many launches that can cause insufficient system resources and crash, but you can't blame me. I almost forgot to tell you, UPX1.20 version can be: http://www.esoftware.com.cn/oload.php? Url = http://ftp.eware.com.cn/pub/fmanager/upx120d.zip Download. The head is very small, only one hundred K. At this point, Windows simplifies the end of the UPX compression step. I hope everyone can make more hard disk space, or change a big hard disk directly!

转载请注明原文地址:https://www.9cbs.com/read-5132.html

New Post(0)