How to Find the Hard Disk Drive Name Using FoxPro for MacID: Q114864 2.50b 2.50c 3.00b MACINTOSH
The information in this article applies to:
SUMMARYUsing the sample program below, you can programmatically determine the name of the current hard disk drive for functions such as SET DEFAULT TO in situations where you will not know this information ahead of time.
MORE INFORMATION
Method 1NOTE: SYS(16) returns the full path of the currently executing program.
Method 2The following commands will place a list of all mounted volume names (delimited with semicolons) in the memory variable "vol_list":
Method 3The following command will place the volume name FoxPro started from in the memory variable "start_vol":
Additional reference words: VFoxMac 3.00b FoxMac 2.50b 2.50c volume name
SYS(2027)
SYS(16)
KBCategory:
KBSubcategory:
|
Last Reviewed: May 21, 1998 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |