Computing.Net > Forums > Disk Operating System > gain hard drive info

gain hard drive info

Reply to Message Icon

Original Message
Name: me_too79
Date: May 27, 2008 at 01:49:43 Pacific
Subject: gain hard drive info
OS: DOS
CPU/Ram: x86/1G
Comment:

given the hard disk info(i.e disk1 partition1),how to get the driver(i.e C:) under DOS ?


Report Offensive Message For Removal


Response Number 1
Name: Mechanix2Go
Date: May 27, 2008 at 04:57:54 Pacific
Reply: (edit)

" get the driver(i.e C:) under DOS ?"

uh... what driver?

and what version of DOS?


=====================================
If at first you don't succeed, you're about average.

M2


Report Offensive Follow Up For Removal

Response Number 2
Name: DAVEINCAPS
Date: May 27, 2008 at 13:55:12 Pacific
Reply: (edit)

Do you mean, "After I've created the partition with fdisk what do I do next?"

You need to format it, as in format c:. When it's done the drive will be usable.


Report Offensive Follow Up For Removal

Response Number 3
Name: me_too79
Date: May 27, 2008 at 21:18:00 Pacific
Reply: (edit)

"get the driver info" , driver here means driver letter ,such as C:,D:,E: and so on.
the version of DOS is MS-DOS 6 and up.
I think maybe DPB is useful? but it doesn't contain disk No and partition No info.


Report Offensive Follow Up For Removal

Response Number 4
Name: DAVEINCAPS
Date: May 27, 2008 at 21:59:10 Pacific
Reply: (edit)

Fdisk, option 4, would seem to provide the partition and drive letter information you're looking for. MSD might help. I guess it'll depend on exactly what you want.


Report Offensive Follow Up For Removal

Response Number 5
Name: me_too79
Date: May 28, 2008 at 00:49:35 Pacific
Reply: (edit)

Thanks DAVEINCAPS, fdisk ,option 4 works well ,but I need to implement it by programming, using C or ASM.


Report Offensive Follow Up For Removal


Response Number 6
Name: DAVEINCAPS
Date: May 28, 2008 at 04:14:57 Pacific
Reply: (edit)

You might try posting in the 'programming' forum.

(edit) FDISK/STATUS probably provides the info you need and may be easier to program if you're trying to mimic the command.


Report Offensive Follow Up For Removal






Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: gain hard drive info

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




Have you ever used OpenOffice?

Yes, as my main suite.
Yes, occationally.
Yes, but only once.
No, never.


View Results

Poll Finishes In 5 Days.
Discuss in The Lounge