Quote Originally Posted by pcuser View Post
Where does the volume number come from and how is it determined?
I believe it's automatically assigned to a given drive at a low level by the CPU when a new drive is added, as DOS software always referred to drives by volume number.

On another note this program glitches like crazy. When I said how good it was, I had at that point only tried to read and/or write data to one sector (usually the first sector). I've found now that performing operations on a sector other than the first on a disk, and ESPECIALLY when I use a FOR...NEXT loop to read or write to multiple sectors sequentially, it really crashes and gives the standard Windows error of such and such a program has crashed and asks me to send the "error report" to Microsoft.

Please debug your code and re-release it. This code in its current state SUCKS BAD.