try this:

REM Check if this has been run before
reg query "HKCU\Software\Microsoft\Windows\CurrentVersion\RunOnce" /v Status
IF ERRORLEVEL 1 GOTO update
GOTO quit
REM Do this if this is first run
:update
REM update and save result to logfile
reg.exe import test.reg >> %COMPUTERNAME%.txt
IF ERRORLEVEL 1 GOTO faulty
echo Update complete! >> %COMPUTERNAME%.txt
goto quit
:faulty
echo ERROR! >> %COMPUTERNAME%.txt
:quit
echo bye >> %COMPUTERNAME%.txt