Linux - Equivalent of Export Command in Windows - Super User
Linux - Equivalent of Export Command in Windows - Super User
Home
Equivalent of export command in Windows Ask Question
Questions Asked 4 years ago Modified 2 years, 1 month ago Viewed 87k times
Tags
I am following a documentation and executing some commands in Windows 10 command
The Overflow Blog
prompt:
Users
15 CEO update: Giving thanks and building
Companies export OPENAI_LOG_FORMAT='stdout,log,csv,tensorboard' upon our product & engineering
export OPENAI_LOGDIR=path/to/tensorboard/data foundation
Unanswered
The AI assistant trained on your
tensorboard --logdir=$OPENAI_LOGDIR
company’s data
TEAMS
Stack Overflow for I have figured that export is a Unix command and the equivalent in Windows is setx . I Featured on Meta
Teams – Start have executed the first two commands and when I tried the third command,
collaborating and Update: New Colors Launched
$OPENAI_LOGDIR is not properly detected. Can someone help with the equivalent of these in
sharing organizational
knowledge. Windows? Incident update and uptime reporting
Related
if running script under cmd.exe use %<EnvVarName> to reference it: echo %OPENAI_LOG_FORMAT
– TWI Nov 8, 2019 at 13:18 21 Exit program in windows command prompt
setx OPENAI_LOG_FORMAT 'stdout,log,csv,tensorboard' makes a "user variable" setx 19 Windows equivalent of SSH
OPENAI_LOG_FORMAT 'stdout,log,csv,tensorboard' /m makes a "system variable". Note: No equal
sign is used. Variables created with setx /m will be available in the next cmd window you open but 1 defrag command line in Windows 7
will not be available in the current window. Use setx if you want the variable to be available in the
current window. – somebadhat Nov 8, 2019 at 14:07 0 Ubuntu equivalent command to Windows
tasklist command
Hi I understood about the setx, how do I access that variable for the third command.
$OPENAI_LOGDIR is not fetching the variable value – singh adi Nov 9, 2019 at 5:20 1 How to save last execution of my command
in Windows 10 Command Prompt?
2 TWI is unfortunately not entirely correct. In cmd , the syntax is %VariableName% . So,
1 VBoxManage Linux command
%OPENAI_LOGDIR% . Also, you might want to consider set instead of setx , depending on your
convertfromraw equivalent for Windows
use case. – Daniel B Nov 14, 2019 at 20:01
1 export mpicc in a bash script (for
you said that it's not working but you didn't show your code. You must show what you've tried
OpenFoam)
– phuclv Feb 29, 2020 at 4:12
2 Windows equivalent of $ in unix commands
Show 1 more comment
setx is not the counterpart of Linux export in Windows. export just makes the variable The Monty Hall loot box
available temporarily to the current shell and its children processes whereas setx stores the Sci-fi, mid-grade/YA novel about a girl in a
11 variable permanently to every user or system process in the future. wheelchair beta testing the world's first fully
immersive VR program
You didn't show all the real commands you used so based on the comments I guess you ran Can an Adult Gold Dragon Turn into a Goblinoid
Creature?
these
Can you completely determine a finitely presented
finite group?
setx OPENAI_LOG_FORMAT 'stdout,log,csv,tensorboard'
setx OPENAI_LOGDIR path/to/tensorboard/data Inkscape - how to (re)name symbols in 1.3?
tensorboard --logdir=$OPENAI_LOGDIR How can I overcome irrational fears of being out in
the dark?
First setx is supposed to be run only once, thus if you want to set the environment for the Solving underdetermined Lyapunov equation?
current session then you must use set instead of setx . If you do want to set the variable What are these "fountains" during the deluge for
permanently then you'll still need to restart the shell so the changes apply, and never run the the Super Heavy launch?
Besides single quote isn't a quoting character in cmd so you'll need to remove '' and use How important is getting nitty-gritty with ideals
stdout,log,csv,tensorboard , or "stdout,log,csv,tensorboard" if your program does for algebraic number theory?
Share Improve this answer Follow answered Feb 29, 2020 at 4:12
phuclv
26.9k 15 117 237
Add a comment
Now it will work for all users. To test open the cmd and type echo %your_variable%
for more information, see What are PATH and other environment variables, and how can I set
or use them?
Share Improve this answer Follow answered Nov 14, 2019 at 19:55
Mauro Matsudo
41 5
3 There’s no need to create persistent environment variables for everything. – Daniel B Nov 14, 2019 at
19:59
Add a comment
Not the answer you're looking for? Browse other questions tagged linux windows-10
SUPER USER COMPANY STACK EXCHANGE NETWORK Blog Facebook Twitter LinkedIn Instagram