Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Storing Data Between Drawing Sessions 2

Status
Not open for further replies.
Thanks Striker,

I saved your lesson to my references. By the way, what do you know of the use of saving strings to the registry through 'setenv' and 'getenv'? I did a little test and it seems to work. The string is saved to a particular machine, is not drawing dependent, and no need to mess with a separate text file. Probably impratical for more than a few strings.

Carl
 
setenv and getenv save and retrieve the specified string to the local computer's command environment. To see what I mean, use setenv to set a variable, then open a DOS command window and enter the command SET. This is where the data is stored. Generally speaking the upper limit of command environment storage space is 1024 bytes, but can be expanded with the correct calling syntax at boot up. It is easy to see how this could quickly fill up with a few path statements and a few other environment variables.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor