Go Back   TechArena Community > Software > Operating Systems
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



How do i find CD drive letter in DOS

Operating Systems


Reply
 
Thread Tools Search this Thread
  #1  
Old 20-03-2009
Member
 
Join Date: Jan 2009
Posts: 125
How do i find CD drive letter in DOS
  

Hello Friends,

I would like to know that what is the command to find out the drives and their letters in DOS? Does any body know how do i get it? Please provide me the correct command for doing so. Any kind of solutions would be appreciated.

Thanks.

Reply With Quote
  #2  
Old 20-03-2009
Member
 
Join Date: Jan 2008
Posts: 3,382
Re: How do i find CD drive letter in DOS

Download the Win95 boot disk (which includes a generic cdrom driver)

Put the floppy in and reboot.

You should now be able to install Win95 from CD by typing
d: [enter]
setup [enter]

Have you got the CD drive properly connected and set as either master or slave?
Reply With Quote
  #3  
Old 20-03-2009
Member
 
Join Date: May 2008
Posts: 4,080
Re: How do i find CD drive letter in DOS

Download the source (button at bottom of page) and unzip. I found that CDROM3.bat worked for OS versions up to W2K and CDROMXP.bat worked for WinXP. Don't know about Vista but I'm sure it can be tweaked because one batch file looks at a registry entry and another uses DISKPART.EXE. One of these should work for Vista.
Reply With Quote
  #4  
Old 20-03-2009
Member
 
Join Date: Apr 2008
Posts: 3,259
Re: How do i find CD drive letter in DOS

If you have the driver, then load it using this in CONFIG.SYS:
DEVICE=X:\DIR1\DIR2\DRIVER.SYS /D:CDDRIVER
where X is the drive, DIR1 and 2 make up the path (I put my drivers in the root, so they aren't in it), DRIVER.SYS is the name of the driver, and the /D:... stuff is ID info.

Then put this in AUTOEXEC.BAT:
C:\DOS\MSCDEX /D:CDDRIVER /L /M:0

If MSCDEX is in the \WINDOWS\COMMAND directory, then replace that with \DOS.

If you don't have the driver, then copy the contents of the Win95 CDROM into a directory called MSINST in the root directory. Then put this in AUTOEXEC.BAT:
SUBST D: C:\MSINST

That way, the installation will think that drive D: is a CDROM drive. When you execute D:\SETUP.EXE, it'll warn you about SUBST.EXE being present in memory. Just hit ESC to continue and ENTER to continue more.
Reply With Quote
  #5  
Old 20-03-2009
Member
 
Join Date: Apr 2008
Posts: 3,516
Re: How do i find CD drive letter in DOS

I went to the site that you suggested and downloaded 2 boot disks (95a &b) and tried them out. When I boot off them it says 'non-system disk or disk error', however, I used my bootdisk i already had for DOS and set it up so that I had the usual DOS screen. I put both bootdisks in (95a&b) and typed BOOT95A.EXE and it said 'this program cannot be run in DOS mode' - I tried both disks and it still came up with that message.
Reply With Quote
Reply

  TechArena Community > Software > Operating Systems
Tags: ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How do i find CD drive letter in DOS"
Thread Thread Starter Forum Replies Last Post
The target drive letter is not obtained by recovery C: drive Piyush.P Operating Systems 4 31-05-2011 07:33 AM
Boot drive letter changed after cloning XP to new SATA drive Bronwyn Operating Systems 5 19-10-2010 05:22 AM
Start Explorer in Drive View and hide drive letter in Windows 7 Alexis25 Windows Software 3 08-05-2009 01:41 PM
Permanently assigning drive letter to an external hard drive Buriim Windows XP Support 2 26-10-2008 03:20 AM
Assigning a Drive letter to External USB connected Hard Drive Ushakanta TroubleShoot 98 1 25-09-2007 01:38 AM


All times are GMT +5.5. The time now is 10:09 AM.