home *** CD-ROM | disk | FTP | other *** search
/ media.efxi.net / media.efxi.net.tar / media.efxi.net / tools / win98boot.imz / Windows98CDRomBootDiskWRegFix.IMA / SETRAMD.BAT < prev   
DOS Batch File  |  1998-05-11  |  1KB  |  58 lines

  1. @echo off
  2. set RAMD=
  3. set CDROM=
  4.  
  5. echo.
  6. echo Preparing to start your computer.
  7. echo This may take a few minutes. Please wait...
  8. echo.
  9.  
  10. a:\findramd
  11.  
  12. if errorlevel 255 goto no_ramdrive
  13.  
  14. if not errorlevel 3 goto no_ramdrive
  15.  
  16. goto do_shift
  17.  
  18. :loop
  19. if errorlevel %1 goto no_shift
  20.  
  21. :do_shift
  22. set cdrom=%2
  23. shift
  24. shift
  25. if not %1*==* goto loop
  26. goto no_ramdrive
  27.  
  28. :no_shift
  29. set ramd=%2
  30.  
  31. if "%RAMD%"=="C" goto c_drive
  32.  
  33. goto success
  34.  
  35. :c_drive
  36. echo Windows 98 has detected that drive C does not contain a valid FAT or
  37. echo FAT32 partition. There are several possible causes.
  38. echo.
  39. echo 1.  The drive may need to be partitioned. To create a partition on the drive, 
  40. echo run FDISK from the MS-DOS command prompt. 
  41. echo.
  42. echo 2.  You may be using third-party disk-partitioning software. If you are using 
  43. echo this type of software, remove the Emergency Boot Disk and restart your 
  44. echo computer. Then, follow the on-screen instructions to start your computer from 
  45. echo a floppy disk.
  46. echo .
  47. echo 3.  Some viruses also cause your drive C to not register. You can use a virus 
  48. echo scanning program to check your computer for viruses.
  49. echo.
  50. goto success
  51.  
  52. :no_ramdrive
  53. echo The Windows 98 startup disk could not create a temporary drive for the 
  54. echo diagnostic tools. This may be because this computer has less than the  
  55. echo minimum required extended memory.  
  56. echo.
  57. :success
  58.