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

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

gain hard drive info

Reply to Message Icon

Name: me_too79
Date: May 27, 2008 at 01:49:43 Pacific
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 ?



Sponsored Link
Ads by Google

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


0

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.


0

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.


0

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.


0

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.


0

Related Posts

See More



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.


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: gain hard drive info

Need help saving hard drive info using dos commands www.computing.net/answers/dos/need-help-saving-hard-drive-info-using-dos-commands/4898.html

Can not load Win95 or format hard drive www.computing.net/answers/dos/can-not-load-win95-or-format-hard-drive/9189.html

reformat and downgrade hard drive to ms6.22 www.computing.net/answers/dos/reformat-and-downgrade-hard-drive-to-ms622/3457.html