[futurebasic] Re: [FB] VolRefNum

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : June 1999 : Group Archive : Group : All Groups

From: Rick Brown <rbrown@...>
Date: Mon, 28 Jun 1999 19:59:21 -0500

PierreSi@... wrote:

> Hi,
> How can I get the Volume Reference Number of a folder if I have its full path
> name?

You probably want a Working Directory Reference Number, which is mistakenly
called a Volume Reference Number in several places (a true Volume Reference
Number is actually associated with a volume (a disk), not with an individual

You can use the FOLDER function to do this.  It's as easy as this:

wdRefNum% = FOLDER(fullPathName$, 0)

- Rick