The log file does get created...
@Echo off
upx -9 %1% >log.txt
exit
i put that into a batch file witch i converted to a exe so when you are in delphi and you do the code...
ShellExecute(Handle,"open",'upx.exe',PANsichar(edit1.text),nil,SW_HIDE);
The edit1.text is the text box that holds the file pathway and name example (C:\bob.exe)
the exe i made from the batch will make the .log in the same folder as the exe you are packing so if you selected the file bob2.exe in the folder C:\topack\ it will make the log file in the C:\topack folder...
But the memo1.lines.loadfromfile("log.txt"); is looking for the file in the same folder as the project .exe is or the UPX Gui.