www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/28/08:44:05

Message-ID: <19991028095626.19792.rocketmail@web1402.mail.yahoo.com>
Date: Thu, 28 Oct 1999 02:56:26 -0700 (PDT)
From: Prashant TR <prashant_news AT yahoo DOT com>
Subject: Re: Disk Serial Numbers
To: djgpp AT delorie DOT com
Cc: Ben Davis <ben AT vjpoole DOT freeserve DOT co DOT uk>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com


--- Ben Davis <ben AT vjpoole DOT freeserve DOT co DOT uk> wrote:
> I have noticed that some floppy disks have serial
> numbers; the serial number
> appears when I type 'dir/w'. Can someone confirm
> that the serial number of a
> floppy disk cannot be changed through software (if
> at all), and explain how
> to write a program which reads it? (After all, 'dir'
> does it, so it must be
> possible.)


Use biosdisk(_DISK_READ, 0, 0, 0, 1, 1, buffer);

The serial no. & the volume name is in the first few bytes.

=====

__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019