Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!samsung!umich!sharkey!tygra!dave From: dave@tygra.Michigan.COM (David Conrad) Newsgroups: comp.lang.pascal Subject: Re: Wondering (getting the disk label) Summary: Use FindFirst("\*.*",VolumeID,srchrec); Message-ID: <1991May26.125339.2455@tygra.Michigan.COM> Date: 26 May 91 12:53:39 GMT References: <1991May22.055842.4211@menudo.uh.edu> Organization: CAT-TALK Conferencing System, Detroit, MI Lines: 14 Assuming you mean volume label, just call FindFirst ("\*.*",VolumeID,srchrec);, although that's for the current drive, specify a drive letter if you want a different drive, and then you want to look for the '.' in the srchrec.name (using Pos) and delete it (using delete), and you've got it! This works even on Dos 4.01 where the volume label is stored in the boot record, it also appears to be stored in the root directory. David Conrad dave@michigan.com -- = CAT-TALK Conferencing Network, Computer Conferencing and File Archive = - 1-313-343-0800, 300/1200/2400/9600 baud, 8/N/1. New users use 'new' - = as a login id. AVAILABLE VIA PC-PURSUIT!!! (City code "MIDET") = E-MAIL Address: dave@Michigan.COM