@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  C:\Windows\Sysave\system.da0 attrib -h -r -s C:\Windows\Sysave\system.da0
If Exist  C:\Windows\Sysave\system.da0 move C:\Windows\Sysave\system.da0 %winbootdir%
If Exist  C:\Windows\Sysave\user.da0 attrib -h -r -s C:\Windows\Sysave\user.da0
If Exist  C:\Windows\Sysave\user.da0 move C:\Windows\Sysave\user.da0 %winbootdir%
If Exist  C:\Windows\Sysave\system.dat attrib -h -r -s C:\Windows\Sysave\system.dat
If Exist  C:\Windows\Sysave\system.dat move C:\Windows\Sysave\system.dat  %winbootdir%
If Exist  C:\Windows\Sysave\user.dat attrib -h -r -s C:\Windows\Sysave\user.dat
If Exist  C:\Windows\Sysave\user.dat move C:\Windows\Sysave\user.dat  %winbootdir%
If Exist  C:\Windows\Sysave\rb???.cab move C:\Windows\Sysave\rb???.cab %winbootdir%
If Exist  C:\Windows\Sysave\win.ini move C:\Windows\Sysave\win.ini  %winbootdir%
If Exist  C:\Windows\Sysave\system.ini move C:\Windows\Sysave\system.ini %winbootdir% 
If Exist  C:\Windows\Sysave\control.ini move C:\Windows\Sysave\control.ini %winbootdir% 
echo.
echo	Original copies of Registry have been restored to system.
echo	To continue restart your computer.
echo	

goto end

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

:end





