Rohit you probably already know this, but if you havent rebooted you can
reinstigate all your previous registry settings as they are backed up on
each Windows entry:
Use the following batch. Restart in MSDOS mode - DONT REBOOT!

@echo off
echo Simple registry backup.
echo Windows 98 automatically backs up your registry files on bootup
echo These files are C:\WINDOWS\SYSBCKUP\rb00x.cab, where x=1-5
echo Although, in a full crash it is a pain to remember what to do...
echo Run this batch file to restore your last registry backup
echo Written by Martin Bishop at [EMAIL PROTECTED]
echo -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
echo Pressing any key at the DOS prompt will:
echo Successfully restore your registry since your last backup.
echo You may need to re-install some of your applications but this will
echo get you up and running in a full crash.
echo To Change the file to restore to the previous backup.
echo Edit this batch file to the corresponding rb00x.cab file.
echo The following Files will be restored.
extract /y C:\WINDOWS\SYSBCKUP\rb005.cab
echo -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
pause
echo -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
cd\
cd c:\windows
attrib -h -r -s -a system.*
copy system.dat system.dak
attrib -h -s -r -a user.*
copy user.dat user.bak
copy win.ini win.bak
copy system.ini system.bak
extract /y C:\WINDOWS\SYSBCKUP\rb005.cab /e *.* /l c:\windows
echo -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
echo -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
echo system.dat is now system.dak
echo user.dat is now user.bak
echo win.ini is now win.bak
echo system.ini is now system.bak
echo -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
echo Registry files are now restored
echo -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to