@echo off
echo.
IF NOT !%WINDIR%==! GOTO DOSMODE
echo			WARNING
echo	The backed-up copies of your Registry are about to be restored
echo	to their original folders. If you don't wish to proceed
echo	press "Ctrl-C" or
Pause

If Exist  %winbootdir%\Sysave\system.da0 attrib -h -r -s %winbootdir%\Sysave\system.da0
If Exist  %winbootdir%\Sysave\system.da0 move %winbootdir%\Sysave\system.da0 %winbootdir%
If Exist  %winbootdir%\Sysave\user.da0 attrib -h -r -s %winbootdir%\Sysave\user.da0
If Exist  %winbootdir%\Sysave\user.da0 move %winbootdir%\Sysave\user.da0 %winbootdir%
attrib -h -r -s %winbootdir%\Sysave\system.dat
move %winbootdir%\Sysave\system.dat  %winbootdir%
attrib -h -r -s %winbootdir%\Sysave\user.dat
move %winbootdir%\Sysave\user.dat  %winbootdir%
If Exist %winbootdir%\Sysave\rb???.cab move %winbootdir%\Sysave\rb???.cab %winbootdir%\sysbckupecho.
move %winbootdir%\Sysave\win.ini  %winbootdir%
move %winbootdir%\Sysave\system.ini %winbootdir% 
move %winbootdir%\Sysave\protocol.ini %winbootdir% 
echo.
echo	Original copies of Registry have been restored to system.
echo	It is important to RESET OR RESTART YOUR COMPUTER BEFORE
echo	WINDOWS STARTS AGAIN. Otherwise the current operation may fail.

goto end

:DOSMODE
echo.
echo	This program cannot be run in Windows
echo	Switch to Dos Mode and run Syscov again.
echo	Type EXIT to return to Windows.
goto end

:end





