Included for backward compatibility. Maps MS-DOS drive designators (A:, B:, C:, and so on) to volumes or folders in FoxPro for Macintosh.
| | Copy Code |
|---|
SET VOLUME cMS-DOSDrive TO [cMacintoshPath] |
Parameters
-
cMS-DOSDrive
-
Specifies an MS-DOS drive designator, and can be any letter from A through Z. The drive delimiter colon, as in A: or C:, is optional.
-
cMacintoshPath
-
Specifies a volume name, a volume name with a folder name, a nested folder, or Macintosh shorthand notation (: or ::) or MS-DOS shorthand notation (\ or ..).
If cMacintoshPath includes a volume or folder name that contains a space, cMacintoshPath must be enclosed in quotation marks. If you include a path in cMacintoshPath that is not fully qualified, the path is relative to the current default folder.
Remarks
Example
The following commands map every occurrence of an MS-DOS C drive to a Macintosh volume named MacHD or Mac HD:
| | Copy Code |
|---|
SET VOLUME C: TO MacHD:
SET VOLUME C: TO 'Mac HD:'
SET VOLUME C TO 'Mac HD:' |
You can also specify a folder with a Macintosh volume:
| | Copy Code |
|---|
SET VOLUME C: TO MacHD:FolderOne
SET VOLUME C TO 'MacHD:Folder One' |
You can use MS-DOS and Macintosh shorthand notation as well. To map every occurrence of an MS-DOS C drive to the current Macintosh volume, issue the following command:
| | Copy Code |
|---|
SET VOLUME C TO \ |
To map every occurrence of an MS-DOS C drive to the FoxPro for Macintosh startup volume, issue SET VOLUME without cMacintoshPath:
| | Copy Code |
|---|
SET VOLUME C TO |
See Also