Microsoft KB Archive/115482

From BetaArchive Wiki

Article ID: 115482

Article Last Modified on 11/17/2003



APPLIES TO

  • Microsoft FoxPro 2.5b for Macintosh
  • Microsoft Visual FoxPro 2.5c for Macintosh
  • Microsoft Visual FoxPro 3.0b for Macintosh



This article was previously published under Q115482

SUMMARY

To assign a drive letter to the Macintosh volume (hard disk), use the SET VOLUME command.

MORE INFORMATION

After a drive letter has been assigned to the hard disk, you can use normal MS-DOS-style path conventions, with the exception of folders (directories) whose names contain spaces. If a folder name contains spaces, the entire path must be enclosed in quotation marks.

For more information about Macintosh paths, volumes, folders, and files, see page 17 of the "Installation and Macintosh Features Guide."

Steps to Assign a Drive Letter to the Hard Disk

  1. Determine the name of the hard disk. Using the Macintosh Finder, view the name displayed below the hard disk icon, or type the following in the FoxPro Command window:

          SET VOLUME C: TO  && Clears VOLUME setting, if any
          SET DEFAULT TO    && Makes the volume's root the current directory
          ?SYS(5)           && Displays volume name
  2. In this example, assume the hard disk is called "Macintosh HD:" (without the quotation marks). Type one of the following commands in the Command window:

          SET VOLUME C: TO "Macintosh HD:"
                            

    -or-

          SET VOLUME C: TO SYS(5)

NOTE: To set the drive letter each time FoxPro starts, add the following line to the CONFIG.FPM file:

   VOLUME C: = "Macintosh HD:"
                

Referencing a Folder Name with Spaces

Assume the SET VOLUME command has been issued, and a folder called Test Folder exists in the hard disk window.

To set the default to this folder, type the following in the Command window:

   SET DEFAULT TO "C:\Test Folder"
                

NOTE: In this example, do not use a folder that resides on the desktop itself. You should see the folder in the hard disk window. If the hard disk window is not open, double-click the hard disk icon, usually located in the upper-right corner of the desktop.

For information about referencing folders on the desktop, please see the following article(s) in the Microsoft Knowledge Base:

114806 Path to the Macintosh Desktop



(c) Microsoft Corporation 2000, All Rights Reserved. Contributions by Kevin Zollman, Microsoft Corporation.



Additional query words: VFoxMac FoxMac pathing akz

Keywords: KB115482