VIAVI TestCenter: How to access environmental variables from Tcl Interpreter or Tcl files ?

Knowledge Base - FAQ

VIAVI TestCenter: How to access environmental variables from Tcl Interpreter or Tcl files ?
• Use the below command to access required environmental variables from Tcl Interpreter of Tcl files %puts $env() Example: %puts $env(USERPROFILE)