home *** CD-ROM | disk | FTP | other *** search
/ Freesoft 1997 May / Freesoft_1997-05_cd.bin / nerecenz / utilities / REGCO / RegcompE.bat < prev    next >
DOS Batch File  |  1996-12-23  |  1KB  |  37 lines

  1. @echo off
  2. CLS
  3. Echo This program will compress the Registry
  4. Echo It's recommended to make a backup of the Registry.
  5. Echo ***********************************************************
  6. Echo -JJSOFT- Utilities ; (c) 1995-1997 JAY Julien ; Internet : 101740.25@compuserve.com / JAY_Julien@msn.com
  7. Echo This program is protected by the international laws about the Copyright.
  8. Echo Freeware Version 97
  9. Echo Do you wish to continue ?
  10. choice /c:yn Yes, No
  11. if errorlevel 2 goto Exit2
  12. if errorlevel 1 goto Continue
  13. :Continue 
  14.  
  15. IF NOT Exist c:\comp.reg GOTO exit
  16.  
  17. echo Starting process
  18. echo Changing the properties of user.dat and system.dat
  19. attrib -r -a -s -h user.dat
  20. attrib -r -a -s -h system.dat
  21.  
  22. echo Starting compression
  23. regedit /c c:\comp.reg
  24.  
  25. :exit
  26. CLS
  27. echo The program is unable to find c:\comp.reg
  28. echo The program can't compress the registry.
  29. echo This program is a freeware but it's protected by the international laws about the Copyright.
  30. echo (c) -JJSOFT- 1995-1997 inc.
  31. @exit
  32. :exit2
  33. CLS
  34. echo You chose to Stop the program
  35. echo Windows 95 restarting . . .
  36. Pause
  37. @exit