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.
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
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
Sweep.exe [~20k] and the C-Sourcecode you can get here:
http://www.rarewares.org/files/case/Sweep.zip
Cya Ryushi
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
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 So I didn't see Justin has answered in the meantime.
I do know nothing about command lines.
---
Portable Apps are cool. End of story.
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.