home *** CD-ROM | disk | FTP | other *** search
/ Windows 95 Secrets (4th Edition) / Windows95Secrets4thEdition.iso / registry / regrecov.bat < prev    next >
DOS Batch File  |  1995-01-04  |  526b  |  15 lines

  1. @echo off
  2. rem Use this batch file if Windows 95 starts in Fail-Safe mode to change
  3. rem the system.dat and user.dat files to the last good versions of these files.
  4. rem Copies system.da0 over system.dat and user.da0 over user.dat
  5. attrib -h -r -s system.da0
  6. attrib -h -r -s user.da0
  7. attrib -h -r -s system.dat
  8. attrib -h -r -s user.dat
  9. copy system.da0 system.dat /v /y > null
  10. copy user.da0 user.dat /v /y > null
  11. attrib +h +s +r system.dat
  12. attrib +h +s +r user.dat
  13. attrib +h +s +r system.da0
  14. attrib +h +s +r user.da0
  15.