SET VOLUME Command

Example   See Also

Maps MS-DOS drive designators (A:, B:, C:, and so on) to volumes or folders in FoxPro for Macintosh.

Syntax

SET VOLUME cMS-DOSDrive TO [cMacintoshPath]

Arguments

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

Most effective in FoxPro for Macintosh.

SET VOLUME helps move applications created in FoxPro for MS-DOS and Visual FoxPro to FoxPro for Macintosh. For every occurrence of a specified MS-DOS drive designator, FoxPro for Macintosh internally substitutes the Macintosh volume or folder you designate.

When you start FoxPro for Macintosh, there is no default volume or folder designation. However, you can specify a default volume or folder in your Visual FoxPro configuration file with the VOLUME configuration item.

Use DISPLAY STATUS to display the current volume or folder mapping.