Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to save all SET commands.
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00848257
Message ID:
00848406
Views:
11
>>I've looked and can't find the command/keystrokes for saving all of the SET commands to a file so I can restore them later. I thought there was one, or am I mistaken? Anybody know what it is?
>
>Try this:
>
>Go to Tools menu, and select Options. Hold down the shift key. Click the OK button in the Options dialog. The current SET commands configurable in the Options dialog are echoed to the Command window. Some non-SET command settings are echoed as well, these are registry only settings and will be prefaced with &&.
>
>You can cull the SET commands from this output, that should give you most of what you need.

That's what I was looking for. Now the next question is, how can I do that programmatically? I played with the KEYBOARD command, but the '{SHIFT+LEFTMOUSE}' doesn't seem to work. I tried a macro too, but it wouldn't record the strokes. And according to the Help file, the SET VIEW commands don't capture the info from the SET commands the way your suggestion does.

How can I get all of that info into a file, without the manual copy/paste?
Previous
Reply
Map
View

Click here to load this message in the networking platform