Link to home
Start Free TrialLog in
Avatar of sanumakonda
sanumakonda

asked on

GettingDrives


how to get drives (ex:A:\,C:\D:\...)
of a system using "c" language.
wait for reply.
ASKER CERTIFIED SOLUTION
Avatar of Paul Maker
Paul Maker
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
you will need to include windows.h, BTW there is no way to do this with C alone, an OS API will have to be used on all platforms
Avatar of kulina
kulina

12 questions asked, 0 graded; quite cheap! Sanumakonda, close-up your other questions.
Read every sector of your disk and you have a drive for each sector that has byte 0 = 235, and byte 510 = 85, and byte 511 = 170.
Force/accepted by

Netminder
Community Support Moderator
Experts Exchange