[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
+---------------------------------+
|           SET DEFAULT           |
+---------------------------------+
SET DEFAULT TO
        [<expC>]

-----------------------------------
Changes the drive and/or directory.
Default value - Current drive
-----------------------------------

This command instructs FoxPro to perform a full DOS CD (change
directory) command, and sends ensuing I/O to the drive or drive and
directory specified by <expC>.

You can specify a drive designator, a drive designation with a directory
name, a child directory name or DOS shorthand notation (\ or ..).

WARNING -- FoxPro retains command files in memory for subsequent
execution; therefore the command file currently stored in memory will be
executed regardless of a change in the default drive specification.  To
clear a command file currently stored in memory, the CLEAR PROGRAM
command should be issued.  The default drive specification will be
respected once a CLEAR PROGRAM command has been issued.

-----------------------------------

See Also:  FULLPATH(), SYS(5) DEFAULT drive, SYS(2003) Current directory

-----------------------------------

See Also: FULLPATH() sys(5) DEFAULT drive sys(2003) Current directory
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson