You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/applied-ai-services/form-recognizer/how-to-guides/includes/v3-0/set-environment-variables.md
+4-5Lines changed: 4 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ setx FR_ENDPOINT {yourEndpoint}
41
41
42
42
```
43
43
44
-
* After you set your environment variables, you need to exit the shell and reopen it before the changes will be available. The value will remain modified until you change it again.
44
+
* After you set your environment variables, you'll need to exit the shell and reopen it before the changes will be available. The value will remain modified until you change it again.
45
45
46
46
* Restart any running programs that will read the environment variable. For example, if you're using Visual Studio or Visual Studio Code as your editor, restart before running the sample code.
47
47
@@ -50,8 +50,7 @@ setx FR_ENDPOINT {yourEndpoint}
50
50
| Command | Action | Example |
51
51
|---------|--------|---------|
52
52
|**setx** </br>VARIABLE_NAME=value | Set or change the value of an environment variable|`setx FR_KEY={yourKey}`|
53
-
|**setx** </br>VARIABLE_NAME= | Delete the environment variable by setting the value to an empty string.|`setx FR_KEY=`|
54
-
|**set** VARIABLE_NAME | Display the value of a specific environment variable|`set FR_KEY`|
53
+
|**setx** </br>VARIABLE_NAME= | Delete the environment variable by setting the value to an empty string.|`setx FR_KEY=`|</b>VARIABLE_NAME | Display the value of a specific environment variable|`set FR_KEY`|
55
54
|**set**| Display all environment variables.|`set`|
56
55
57
56
#### [macOS](#tab/macOS)
@@ -96,7 +95,7 @@ Here are a few more helpful commands to use with environment variables:
96
95
|---------|--------|---------|
97
96
|**export**</br>VARIABLE_NAME=value | Set or change the value of a temporary environment variable ().|`export FR_KEY={yourKey}`|
98
97
|**unset**</br>VARIABLE_NAME | Delete an environment variable.|`unset FR_KEY`|
99
-
|•**printenv**</br> VARIABLE_NAME</br>•**echo**</br>$VARIABLE_NAME|•Display the value of a specific environment variable (with the **echo** command, precede the variable with $).|•`printenv FR_KEY`</br>•`echo $FR_KEY`</br>|
98
+
|•**printenv**</br> VARIABLE_NAME</br>•**echo**</br>$VARIABLE_NAME| Display the value of a specific environment variable (with the **echo** command, precede the variable with $).|•`printenv FR_KEY`</br>•`echo $FR_KEY`</br>|
100
99
|**printenv**| Display all environment variables.|`printenv`|
101
100
102
101
#### [Linux](#tab/linux)
@@ -141,7 +140,7 @@ Here are a few more helpful commands to use with environment variables:
141
140
|---------|--------|---------|
142
141
| **export** </br>VARIABLE_NAME=value | Set or change the value of a temporary environment variable (only lasts until you close the terminal session).| `export FR_KEY={yourKey}`|
143
142
| **unset** </br>VARIABLE_NAME| Delete an environment variable.|`unset FR_KEY=` |
144
-
| • **printenv** </br>VARIABLE_NAME</br> • **echo** </br>$VARIABLE_NAME| • Display the value of an environment variable (with the **echo** command, precede the variable with $).| • `printenv FR_KEY` </br>• `echo $FR_KEY`</br>|
143
+
| • **printenv** </br>VARIABLE_NAME</br> • **echo** </br>$VARIABLE_NAME| Display the value of an environment variable (with the **echo** command, precede the variable with $).| • `printenv FR_KEY` </br>• `echo $FR_KEY`</br>|
145
144
| **printenv**| Display all environment variables.|`printenv`|
0 commit comments