Business BASIC III: Finding what volume is in what drive

This article has been archived and is no longer updated by Apple.
The following program determines the volume name of the diskette in drive
two.

10 temp$ = prefix$
20 prefix$ = ".D1"
30 D1$ = prefix$
40 prefix$ = ".D2"
50 D2$ = prefix$
60 prefix$ = temp$
70 print ".D1 contains ";D1$;" and .D2 contains ";D2$

Last Modified: Feb 18, 2012

Additional Product Support Information