Questions tagged [system-variable]
146 questions
2
votes
1 answer
Pycharm is running script headless successfully but terminal throwing error
Hello all,
options = Options()
options.add_argument('--headless')
options.add_argument('--disable-gpu')
dr = webdriver.Chrome(ChromeDriverManager().install(), options=options)
dr.get("url")
cWait = WebDriverWait(dr, 5)
usernameField =…

Shyam Sundar
- 21
- 1
2
votes
1 answer
In LARAVEL .ENV file read SYSTEM VARIABLE
I have AWS server where we are setting all system environment variables.
For reference system environment variables like DATABASE connection, EMAIL CLIENT configurations and some other configuration.
We can read those system variables into PHP file…

Viral
- 441
- 9
- 17
2
votes
1 answer
MySQL 8 Disable Query Cache for current session
How to disable caching queries' results for the current session in MySQL8?
The Documentation of system variables has lot of variables that regard to caching but most of them are deprecated and I could not find any to use for disabling a query…

Jimmix
- 5,644
- 6
- 44
- 71
2
votes
1 answer
open files by command prompt which are in system PATH variable
My system PATH variable contains "C:\myfiles" and I have a file "C:\myfiles\abc.txt".
Now I want to open it by notepad via command prompt using just "notepad abc.txt"
I expect it to open "C:\myfiles\abc.txt" (just like Bash), but it opens a file…

rnbguy
- 1,369
- 1
- 10
- 28
2
votes
1 answer
Problems with System.getProperty("java.home")
I run Windows 7 with different JRE/JDKs installed. I try to set the JAVA_HOME path to "C:\Program Files\Java\jdk1.8.0_45". I tried multiple ways to do that like described in How to set java_home on Windows 7?.
I think it worked, because in the…

Feanor
- 320
- 2
- 11
2
votes
1 answer
How to get file list using system variable %LOCALAPPDATA%?
I want to read the content of the folder located at %LOCALAPPDATA%. But it fails when I tried
Directory.GetDirectories("%LOCALAPPDATA%");
I get "The name 'Directory' does not exist in the current context"
Please help.

Nam G VU
- 33,193
- 69
- 233
- 372
2
votes
1 answer
What is meaning when _JAVA_OPTIONS system variable value is given -Xmx512M?
I am using windows 7 32 bit machine. I was building a cordova project on it and while building it was giving an error as
"Error occurred during initialization of VM".
This got solved when i defined system variable for _JAVA_OPTIONS and gave value…

gavdix
- 358
- 1
- 2
- 21
2
votes
1 answer
dynamically changing the values of database system variables set in an option file
In MySQL SET syntax page it says following: "To make a global system variable setting permanent, you should set it in an option file". Does this mean that I will not be able to dynamically change the values of variables set in the option file? (I…

user3344382
- 1,941
- 4
- 18
- 17
2
votes
3 answers
Need to set path as a system property for java project
I have 2 property files which are part of my java eclipse project. Now i need to pass the path of these 2 files as a system property like -Dpath1="pathfile1" as project will only accept it as a system property.
One option is that i can specify the…

Lokesh
- 7,810
- 6
- 48
- 78
2
votes
1 answer
How do I set a system variable for use in a maven failsafe test?
I'm trying to run tests on a buildserver that doesn't have the environment variable I need set.
The variable is used from within a spring context xml file to resolve the location of property files.
e.g.…

Programming Guy
- 7,259
- 11
- 50
- 59
2
votes
1 answer
Why does not Visual Studio 2010 "unpack" system variable?
I was trying to set up an Ogre3D application and I set an "OGRE_HOME" system variable to the home directory of the SDK. Then I set project properties, like include directories in the Project Properties, using the $(OGRE_HOME) system variable. But…

nosferat
- 933
- 13
- 30
1
vote
1 answer
Setting Task Trigger Based on System Variable in WSO2
I'm working with WSO2 and I have a task that needs to be triggered based on a system variable. I want to dynamically set the trigger interval for the task using the value of a system variable in cron expresssion.
i use wso2 micro integrator
so far ,…

Gandalf CZ3
- 29
- 4
1
vote
2 answers
Path missing in User Variables
Deleted Path in User Variables for Pc1, what can I do? and I keep getting [error 2147942402 (0x80070002) when launching `ubuntu2204.exe'] when opening terminal app,
I also copied values of Path in System Variables to new Path variable in User…

Arin Avanusyan
- 11
- 1
1
vote
1 answer
Custom python module seen in C: but not in D:
I have a module that I want to be able to import from any script without
doing any sys.add_path and similar stuff. I want it to be permanently added.
Since I installed Python with anaconda, I have a anaconda3 folder added to Path under
System…

Luka Savic
- 101
- 1
- 11
1
vote
0 answers
Unable to hide api key in angular10 environment variable
Im trying to hide api key in my angular project environment using @angular-builders/custom-webpack which will fetch value from system environment variable through process.env during build .
But after sucessful build , i'm still able to see the…

Naveenkumar A
- 21
- 1
- 4