Business BASIC III: Finding what volume is in what drive
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$
Published Date: Feb 18, 2012
Still need help?