SET RESOURCE Command

Updates or specifies a resource file. The resource file is a Visual FoxPro table that contains information on system and user-defined resources such as keyboard macros, preferences, system window locations and sizes, diary entries, and so on.

SET RESOURCE ON | OFF

-or-

SET RESOURCE TO [FileName] 

Parameters

  • ON
    Specifies that changes made to the Visual FoxPro environment are saved to the resource file. (Default)

  • OFF
    Specifies that changes made to the Visual FoxPro environment are not saved to the resource file.

  • TO [FileName]
    Specifies that changes made to the Visual FoxPro environment are saved to a resource file (FileName) other than the default FoxUser.dbf resource file.

    Issue SET RESOURCE TO without a resource file name to open the default FoxUser.dbf resource file. Issuing SET RESOURCE TO performs an implicit SET RESOURCE ON.

See Also

SYS(2005) - Current Resource File | Resource Files in Applications