PDA

View Full Version : Environment variable such as ERRORLEVEL


belhugtetra
03-06-2003, 08:23 PM
How can access environment variables such as ERRORLEVEL from
VisBuildPro's Macro?

Hugues Bellerive
Software Developer

pjaquiery
03-06-2003, 08:25 PM
%LASTSTEP_STATUS% in the step following a "Run Program" step is ERRORLEVEL (the value returned by the program that was run).

Most other environment variables are available as System macros. For example:
%Path%
%TEMP%
%WINDIR%
...

Peter