PDA

View Full Version : OS variables supported?


jbotwood
10-20-2004, 08:15 AM
Hello,

Is there built-in support for the following OS variables (e.g. type 'set' at the CMD prompt):

ALLUSERSPROFILE
SystemDrive
USERPROFILE

I can't find any mention of these in the documentation or from the scripting page

Thanks

linder
10-20-2004, 08:34 AM
Jeff,

Yes, you can use the "Get System Information" script item to handle this.

For example:

Variable: %TEST%
Retrieve: Expand Environment Variable
Environment Variable: ALLUSERPROFILE

The latest official build #908 disabled the Environment Variable field (bug is already fixed in our latest internal sources).

See private email.