Partilhar via


SET RESOURCE Command

Updates or specifies a resource file.

SET RESOURCE ON | OFF

-Or-

SET RESOURCE TO [FileName] 

Parameters

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

  • 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.

Remarks

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.

See Also

SYS(2005) - Current Resource File | Including Resources in Your Applications