Share via


Using Environment Variables within a Job

Note  This content applies to the Windows Logo Kit (WLK). For the latest information using the new Windows Hardware Certification Kit (HCK), see Windows HCK User's Guide on the Windows Hardware Dev Center.

You can use system environment variables within a job by enclosing the name of the variable within square brackets. User environment variables, however, cannot be used as variables within a job.

For example, assume that a program called MyTest.exe requires a command-line argument that specifies where to place temporary files. The system environment variable TEMP provides this information. You could create a job with a task whose command line is "MyTest.exe [TEMP]" to run the test and pass the location for temporary files as a command-line parameter.

 

 

Build date: 9/14/2012