I am making a program using batch that will boost pc performance one of the things it does is edit the registry and just before it does it exports the registry to 5 file using the following code:
@ECHO OFF
reg export HKLM %~dp0hklm.reg > nul
echo hklm
reg export HKCU %~dp0hkcu.reg > nul
echo hkcu
reg export HKCR %~dp0hkcr.reg > nul
echo hkcr
reg export HKU %~dp0hku.reg > nul
echo hku
reg export HKCC %~dp0hkcc.reg > nul
echo hkcc
reg export HKEY %~dp0hkey.reg > nul
echo hkey
pause
When I do this I get 5 files that add up to 250 MB and this it too big so I put them in a zip file and it added up to 16 MB so its a good idea to compress them. My question is how do I export the 5 files to one zip file instead. Can any one help.