Customer Service Center
Home
Knowledge Base
Contact Support
License Activation
|
Contact Support
|
License Activation
|
Spirent KB Article
Doc ID: FAQ15364
Printer Friendly
Email Article Link
Spirent TestCenter: How to access environmental variables from Tcl Interpreter or Tcl files ?
Environment/Versions
Tcl Interpreter
Answer
Use the below command to access required environmental variables from Tcl Interpreter of Tcl files
%puts $env(<name of the variable>)
Example:
%puts $env(USERPROFILE)
Version
1.0
Publish Date
2014-04-22
Categories
Product : Automation,Spirent TestCenter
Related Articles