Hello, Does anyone know any code to retrieve the letter of the booted drive

Recommended Answers

All 3 Replies

Do you mean where it read the boot loader from, or the drive with the OS on? as they dont have to be the same, Im not sure you can tell the first.

The drive where the booter loaded from

I dont believe you can ever know that for sure. As for example I could load a USB drive boot, and remove it and you wouldnt know.. unless the OS ran from there, but it doesnt mean the boot came from there..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.