A lot of people would like to put regedit.exe onto a boot disk, so that they can back up and restore the registry in DOS.
But putting a Windows program onto a boot disk, isn't that too much of a waste of space?
Now I'll teach everyone a method-----trimming down regedit.exe.
Some people may ask: wouldn't it be enough to compress it with UPX or PKLite?
But regedit.exe is not an ordinary executable.
UPX will only compress the Windows (PE) part,
while PKLite will make regedit.exe unable to run normally.
Actually, the Windows (PE) part is nothing but garbage in DOS,
so we can remove it.
Originally, regedit.exe in Windows 98SE is 122,880 bytes in size.
After "losing weight" it is only 41,049 btyes.
Then after using epack it is only 30,306 btyes.
I'm attaching my result hereopen attachment
But putting a Windows program onto a boot disk, isn't that too much of a waste of space?
Now I'll teach everyone a method-----trimming down regedit.exe.
Some people may ask: wouldn't it be enough to compress it with UPX or PKLite?
But regedit.exe is not an ordinary executable.
UPX will only compress the Windows (PE) part,
while PKLite will make regedit.exe unable to run normally.
Actually, the Windows (PE) part is nothing but garbage in DOS,
so we can remove it.
Originally, regedit.exe in Windows 98SE is 122,880 bytes in size.
After "losing weight" it is only 41,049 btyes.
Then after using epack it is only 30,306 btyes.
I'm attaching my result hereopen attachment


