Article ID: 114864
Article Last Modified on 11/17/2003
*Procedure to determine the hard drive name in FoxPro/Mac
SET TALK OFF && stop echo to screen
PRIVATE x, datafolder
datafolder="Apps:Data:" && folder structure depends on the system
x=LEFT(SYS(2027,SYS(16)),AT(":",SYS(2027,SYS(16))))
* Variable X now contains the hard drive volume name
x=x+datafolder && set up the DEFAULT path
SET DEFAULT TO (x) && sets default even though we didn't know HD name
SET TALK ON
SET LIBR to foxtools vol_list=fxVolume()
start_vol=SET('DEFAULT')
Additional query words: VFoxMac FoxMac volume name SYS(2027) SYS(16)
Keywords: kbcode KB114864