Home |
RTTarget-32 Programming Manual Running Win32 Programs without Win32 Set Command Running a Program on the Target Compiling and Linking with On Time RTOS-32 |
Set CommandRTTarget-32 supports a static program environment. A configuration file can contain any number of SET commands to define environment variables: SET Variable Value where Variable is the name of the environment variable to define and Value is its value. You must quote "Value" if it contains blanks, semicolons, slashes, or any other whitespace or comment character. Example:SET PATH="C:\;C:\BIN" SET COMSPEC Myprog.exe SET OS=RTTarget-32 Environment variables defined in this manner can be queried at run-time using the Win32 API function GetEnvironmentStrings or GetEnvironmentVariable, or equivalent functions of the run-time system. The program environment cannot be changed dynamically at run time.
|