Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Initializing and restoring the VFP environment
Message
From
06/04/2004 11:49:56
Dave Nantais
Light speed database solutions
Ontario, Canada
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Initializing and restoring the VFP environment
Miscellaneous
Thread ID:
00892638
Message ID:
00892638
Views:
57
From the help file :
To capture commands for the current environment

From the Tools menu, choose Options.
Press Shift and select OK to display the environment SET commands in the Command window.
From the Command window, copy and paste into your program.

Is there a way to programmatically capture all of this environment information into a text file (then I could rename it a .prg file)?

I use the Codemine framework for some of my projects and it has a function in it that programmatically sets every single environment variable. It does so with many explicit SET commands.

I am lazy and do not want to rework this extensive and detailed Codemine class library to work on my non-Codemine projects.
Next
Reply
Map
View

Click here to load this message in the networking platform