home *** CD-ROM | disk | FTP | other *** search
/ PC World Plus! (NZ) 2000 June / Pcw_jun00.bin / GUARDDOG / GD / DATA1.CAB / English_Resources / gdfix.bat < prev    next >
DOS Batch File  |  1999-05-13  |  4KB  |  63 lines

  1. @echo off
  2.  
  3. @echo off
  4. rem **********************************************************
  5. rem * Run SCANDISK on all drives and do not pause at the end *
  6. rem **********************************************************
  7. if exist scandisk.exe cls
  8. if exist scandisk.exe scandisk /ALL /NOSUMMARY
  9. if exist scandisk.exe goto bootcompare
  10.  
  11. :bootcompare
  12. @echo ╔═════════════════════════════════════════════════════════════════════════════╗
  13. @echo ║ Guard Dog Emergency Check-Up                                               ║
  14. @echo ╚═════════════════════════════════════════════════════════════════════════════╝
  15. @echo ╔═════════════════════════════════════════════════════════════════════════════╗
  16. @echo ║                                                                             ║
  17. @echo ║                                                                             ║
  18. @echo ║         Guard Dog Emergency Disk is checking the following:                 ║
  19. @echo ║                                                                             ║
  20. @echo ║                                                                             ║
  21. @echo ║                                                                             ║
  22. @echo ║                √  Running ScanDisk                                          ║
  23. @echo ║                                                                             ║
  24. @echo ║                »  Verifying Boot Sector                                     ║
  25. @echo ║                                                                             ║
  26. @echo ║                                                                             ║
  27. @echo ║                                                                             ║
  28. @echo ║                                                                             ║
  29. @echo ║                                                                             ║
  30. @echo ║                                                                             ║
  31. @echo ║                                                                             ║
  32. @echo ╚═════════════════════════════════════════════════════════════════════════════╝
  33.  
  34.  
  35. rem **************************************************************************
  36. rem * Use BOOTCOMP to compare the bootsector image to the one on the C drive *
  37. rem **************************************************************************
  38. bootcomp c:
  39.  
  40. :end
  41. cls
  42. @echo ╔═════════════════════════════════════════════════════════════════════════════╗
  43. @echo ║ Emergency Check-Up                                                          ║
  44. @echo ╚═════════════════════════════════════════════════════════════════════════════╝
  45. @echo ╔═════════════════════════════════════════════════════════════════════════════╗
  46. @echo ║                                                                             ║
  47. @echo ║                                                                             ║
  48. @echo ║         Guard Dog Emergency Disk is checking the following:                 ║
  49. @echo ║                                                                             ║
  50. @echo ║                                                                             ║
  51. @echo ║                                                                             ║
  52. @echo ║                √  Running ScanDisk                                          ║
  53. @echo ║                                                                             ║
  54. @echo ║                √  Verifying Boot Sector                                     ║
  55. @echo ║   ╔════════════════════════════════════════════════════════════════════╗    ║
  56. @echo ║   ║                          Check-Up Complete!                        ║    ║
  57. @echo ║   ║ Please Remove any floppy disks from your floppy drive and restart  ║    ║
  58. @echo ║   ║            your computer by pressing Control-Alt-Delete.           ║    ║
  59. @echo ║   ║                 Press any key to exit to a DOS Prompt.             ║    ║
  60. @echo ║   ╚════════════════════════════════════════════════════════════════════╝    ║
  61. @echo ╚═════════════════════════════════════════════════════════════════════════════╝
  62. pause>nul
  63.