One of my friends from IBM was asking me if I knew how to do raw data reads/writes to a disk in windows. I knew it was possible because I had seen it done before, so I poked around MSDN looking for an answer. The solution is to open a handle to the disk driver through a call to CreateFile() on "\.\PHYSICALDRIVE0". I figured it was time to replace my obsolete getboot program, which was written in assembly language for DOS. ReadBoot accomplish a similar task, and has a few more features (but is considerably less concise than getboot!) ReadBoot has the capability to read the boot sector from any physical drive or logical partition. See the readme file for usage.
Notice: Please do not direct link to any files on this site, link
to the page containing the file! Thanks!