Collections:
Substring of Windows Environment Variable
How to Get a Substring of a Windows Environment Variable? I need to pass a part of the variable value to JMeter.
✍: FYIcenter.com
You can Get a Substring of a Windows Environment Variable
by following this tutorial.
If you want to a substring of a Windows Environment Variable value, use the following syntax:
%varname:~start,length"
Try example commands listed below:
\fyicenter>echo %os% Windows_NT \fyicenter>echo %os:~0,7% Windows \fyicenter>echo %os:~8,2% NT \fyicenter>echo %os:~0,7% with %number_of_processors% processors Windows with 4 processors
⇒ Windows Command to Aggregate Files
⇐ Pass Windows Environment Variable to JMeter
2017-12-04, ∼3488🔥, 0💬
Popular Posts:
How to set Content-Type to application/json? The server requires the Content-Type to be application/...
How to turn off HTTP response compression in SoapUI? HTTP response compression reduces the data size...
How to generate currency test values? Currency test values are frequently needed in testing date and...
How to generate test fractional numbers? Test fractional numbers are numbers with fractions that are...
How to Pass Windows Environment Variable to JMeter? I want to use Windows temporary folder environme...