How can a program set DOS environment variables?
Date: 8 Feb 2002 20:22:43 -0400 Program functions that read or write “the environment” typically access only the program’s copy of it. What this Q really wants to do is to modify the active environment, the one that is affected by SET commands in batch files or at the DOS prompt. You need to do some programming to find the active environment, and that depends on the version of DOS. Pascal source code. The article hints at how to change the environment, and suggests creating paths longer than 128 characters as one application. Now as for downloadable source code, there are many possibilities. Stan Brown, the former list maintainer recommends the following: