You are here

UPX?

6 posts / 0 new
Last post
gao0nline
Offline
Last seen: 13 years 4 weeks ago
Joined: 2005-12-31 12:19
UPX?

This may be a weird problem with my computer...

Whenever I try to open UPX.exe, a command screen pops up for ~.5 seconeds before closing again. If I try to keep it open by going to Properties and changing it, it opens and stays open. However, it doesn't work. Curious...

And I realize that this is a UPX problem, and not a portable apps problem, but I was hoping that someone could help me out. Thanks in advance.

Oh yeah, I'm running XP Service Pack 2.

justin
Offline
Last seen: 13 years 1 month ago
Developer
Joined: 2005-12-24 15:41
its not meant to be used that way

UPX is a commandline utility to compress EXEs and DLLs. There are several ways thst you can do this. I recommend creating a batch file such as this:

upx -9 *.exe
upx -9 *.dll
pause
exit

You then place UPX.exe and UPX.bat in the directory of the stuff you want to compress and then click the batch file, and it will compress all EXEs and DLLs in that directory.

-Justin

Ryushi
Offline
Last seen: 16 years 4 months ago
Joined: 2005-12-09 09:30
Sweep for recursive directory support

There is a program called Sweep (by Case) which can be used to execute a given command in all subdirectories:
e.g.
sweep upx --best *
will execute UPX in the actual directory and in all subdirectories - pretty handy when there are many directories with files to upx Wink

Sweep.exe [~20k] and the C-Sourcecode you can get here:
http://www.rarewares.org/files/case/Sweep.zip

Cya Ryushi

Ryushi
Offline
Last seen: 16 years 4 months ago
Joined: 2005-12-09 09:30
Commandline program and so ... you know ;-)

Hi gaoOnline,

maybe I am total wrong because it is hard to believe that you don't know that you have to start a commandline program from the commandline (or with propper arguments) - tweaking the properties doesn't help much when the programm starts and ends because there is nothing to do for it Wink

Go to "Start/Run ..." and type cmd /k
from this commandline (and the right directory) you can start "upx.exe" and see the error (help) message.

Cya Ryushi

[edit]Sorry I wrote my answer and forget I to send, first Wink So I didn't see Justin has answered in the meantime.

gao0nline
Offline
Last seen: 13 years 4 weeks ago
Joined: 2005-12-31 12:19
Nope, you are totally right

I do know nothing about command lines.

---

Portable Apps are cool. End of story.

melendz
Offline
Last seen: 6 years 11 months ago
Joined: 2006-02-07 19:05
Jazz_UPX

If you don't want to worry abount the command line, you can try Jazz_UPX (http://www.rtsoftware.org) which provides a GUI for UPX. There is also UPX Shell (http://upxshell.sourceforge.net). I have used both with no complains.

Topic locked