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

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

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:

" 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:

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:

"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:

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:

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:

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:

Not Logged In!

You will not be able to post.

Register | Login
   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: gain hard drive info

Comments:



Results for: gain hard drive info

Need help saving hard drive info using dos commands
    Summary: Thank you Claude (and anyone else with suggestions), OK, heres what I did. I was able to reinstall Win98 through DOS commands. Setup went glitch free, I was able to get as far as my Desktop icons (at ...
www.computing.net/answers/dos/need-help-saving-hard-drive-info-using-dos-commands/4898.html

Can not load Win95 or format hard drive
    Summary: I tried all the above with no luck. When I tried A:\Fdisk /MBR after 30sec it cam back with " The master boot code has NOT been updated" and returnes to the A:/ prompt. fdisk alone brings up a 512 war...
www.computing.net/answers/dos/can-not-load-win95-or-format-hard-drive/9189.html

BIOS won't detect hard drive or CD-ROM
    Summary: Subject: BIOS wont detect hard drive and CD-Rom Body of Message: Hi, I recently came home after a week vacation to find my computer not turning on. After replacing the power supply and buying a new T...
www.computing.net/answers/dos/bios-wont-detect-hard-drive-or-cdrom/4089.html






Which MP3 player do you have?

iPod/iPhone
Zune
Something Else
None


View Results

Poll Finishes In 4 Days.
Discuss in The Lounge
Poll History






Data Recovery Software