Linked Questions
12 questions linked to/from List all environment variables from the command line
77 votes
12 answers
248k views
echo %JAVA_HOME% returns %JAVA_HOME%
When I do echo %JAVA_HOME% it returns %JAVA_HOME% on windows 10 what did I do wrong?
14 votes
3 answers
11k views
Git for Windows doesn't know %USERPROFILE%
I have the same issue like Git for Windows doesn't execute my .bashrc file and tried to make the same steps. But my Git Bash (2.5.0, 64bit on Windows 7, 64bit) doesn't know my %USERPROFILE%. ...
11 votes
4 answers
60k views
Get User environment variables from cmd prompt
I am hoping there is a simple answer for this is. Is there a command that would give me a list of all User Environment variables? (or value of a user Environment variable if it exists). I know there ...
12 votes
2 answers
76k views
Fatal Error C1083 - Cannot open include file: "windows.h": No such file or directory
I'm trying to get IKVM to build (see this question) but now have encountered a problem not having to do with IKVM so I'm opening up a new question: When running nant on the IKVM directory with the ...
2 votes
1 answer
7k views
env : The term 'env' is not recognized as the name
I am new to coding and I am learning about environment variables in python using pycharm. I am trying to hide my API KEY in the terminal for basic security however when I type env into the terminal ...
3 votes
2 answers
2k views
Is it possible to/how do you stop powershell using certain cmdlets?
Powershell is clearly a lot better than cmd but it hides basic functionality. I normally use it to figure out how to use commands that I want in scripts but it breaks a large number of basic things ...
9 votes
1 answer
3k views
How to set environment variables for bash from within powershell?
Using powershell how do I set the environment variables (here, particularly "ApiSecret") so that printenv will show the necessary variables? (Operating on the assumption that the problem is that ...
2 votes
1 answer
1k views
Get raw arguments or command in batch file
In a batch file, is there any way to get the raw arguments or command? For example, given the following batch file: echo "%1" And then running: my-file.bat ^1.1 I would like it to output ^...
2 votes
1 answer
1k views
Clang++ 4.0.0 compilation error in windows
I'm using clang 4.0.0 compiled from source on windows 10 (32-bit OS, x86 processor). I'm trying to compile my cpp code to llvm ir code of the format ll. Here's a sample code which fails to compile ...
2 votes
1 answer
1k views
Unable to make Python work in command prompt
Trying to start using python, but I cannot make it run from CMD by simply typing Python. I have added it in the system paths thing as many tutorials have taught me, and currently I have "Python" ...
-3 votes
2 answers
254 views
Windows shortcuts and links [closed]
Where do I go to find all of the Windows shortcuts, or easy-links, or whatever they are called? I am talking about the ones like %appdata%. I want my program to put a shortcut directly on the desktop ...
0 votes
1 answer
79 views
how to command variables values from conftest.py to pytest in cmd.exe
in bash "env" and in terminalX "env -S" work, in cmd "env" is not an internal or external command, executable program or batch file. for example: on Linux :(. venv) ~ ...