Tuesday, June 14, 2011

Starting Visual FoxPro

Visual FoxPro, like most applications, supports several 'command line switches'. Most of the
time these tend to get forgotten, but they do exist and are all documented in the online Help
files in the 'Customizing Visual FoxPro Startup Options' topic. Probably the most useful ones
to remember are:

  • -C which specifies the configuration file to use
  • -T which suppresses the VFP sign-on screen
  • -R which refreshes the VFP registry settings (Note, the settings that get refreshed are

those relating to information about VFP, such as file associations. The –R switch does
not update the settings controlled through Visual FoxPro's Options Dialog. This is
only done when 'Set As Default' is used to exit the dialog).
So to start Visual FoxPro without the sign-on screen display and with a refresh of the
registry settings the required command line would be:
G:\VFP60\VFP6.EXE –R -T

No comments:

Post a Comment