Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [environment-variables]

Environment variables are system-wide variables which share the same value. These variables are often parsed by the shell when executing commands, and are expanded into their appropriate variable. For example, this allows users to move file locations without needing to update hard-coded paths in ...

0
votes
0answers
11 views

Linux tool for managing environment variables [on hold]

I'm in need of advice about tool for centralized management of environment variables for X amount of software products on linux workstations. So far I've found that REZ (https://github.com/nerdvegas/...
0
votes
1answer
39 views

Editing System Environment Variables is allowed only when opened through Control Panel

On Windows 10, if I open the Environment Variables window directly through Windows Search, I can't edit the System Variables (buttons are disabled): However, opening it through Control Panel (Control ...
0
votes
0answers
8 views

Problems Setting Environment Variable on Ubuntu | Ruby on Rails

I have tried to set my environment variables multiple ways on my Ubuntu server but nothing seems to work. I need to know how to properly set them on the digital ocean droplet I am using to host my ...
0
votes
0answers
21 views

Command prompt. Is it possible to create a certain number of variables according to the lines in a text file and then

Can we use a text file to set variables according to how many changing lines are there in the .txt file? files.txt name 1 text 2 info 3 ... and so on set line01="name 1" set line02="text 2" ...
0
votes
1answer
7 views

Setenv list edit Centos 5.11

Been looking for an answer but nothing seems to give me a simple one-liner answer (I am not a computer genius). I want to edit one of the variables (I see them with setenv commant) on a centos 5.11 ...
0
votes
0answers
19 views

How to command line `cd` into directory on other drive by using Environment Variable? [duplicate]

I want to use Windows CMD or PS I want to execute this command: C:\Users\myusername>cd %MYSPECIALENV% In System Variables MYSPECIALENV variable points to D:\SomeDir\SomeOtherDir (Other Drive!) I ...
0
votes
0answers
6 views

Using ENV vars in IntelliJ IDEA

I'm using IntelliJ IDEA in Windows 10. I'm trying to set up an application-specific login credential set without hard-coding it into a YAML file. This project will eventually be pushed to github and ...
0
votes
1answer
31 views

How to set Base64 encryption key as Environment (system) Variable on Windows 10

I have an application that connects to BigQuery using multiple creds from .json file. Being that this app will eventually reside on Pivotal Cloud Foundry and will need to be set as User Provided ...
1
vote
1answer
46 views

The function of the %configsetroot% system variable in Windows

When I checked my PC, the %configsetroot% system variable was set to the path: %SystemRoot%\ConfigSetRoot But the weird thing is that the directory as indicated by that path doesn't exist. The ...
0
votes
0answers
14 views

Batch script is unable to read Windows environment variables if windows agent is running over SSH from linux master Jenkins

I have setup Jenkins master on linux, and agent on windows 7 using SSH. But when my jenkins job is invoking batch scripts present on windows agent, it's unable to get %LOCALAPPDATA%, %USERPROFILE% and ...
0
votes
0answers
11 views

Add environment variable to internet explorer shortcut

As seen in the image below, I would like %username% to be replaced with the username of that current computer user. Is such a thing possible? If not would it be possible with a bash script somehow?
0
votes
0answers
9 views

Using shibboleth with out-of-process application servers [migrated]

I have a legacy CGI application which I've convinced to run under plack (specifically, it runs in starman, but I don't think that's relevant to the question). The kinks around persistent vs. ...
1
vote
1answer
15 views

How can I store a Powershell variable's value as a string while creating ISE submenus

I can't seem to articulate my issue well enough within the search engines to find the answer I'm looking for, so I turn to the community for help: I want to populate my Powershell ISE's menu with ...
33
votes
5answers
3k views

Does the Windows Command Prompt search somewhere other than those locations specified by the PATH variable when launching application programs?

I tried the following experiment. Before I start, I checked the PATH variable from cmd, which has the following value: Path=C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS ...
0
votes
0answers
20 views

Unable to use environment variables in setting other environment variables in Windows 10

In the environment variable window in Windows 10, I set FOO_VAR=foo BAR_VAR=%FOO_VAR%bar I would expect that echo %BAR_VAR% shows "foobar" but %FOO_VAR% in BAR_VAR doesn't get resolved. Is this ...

15 30 50 per page