Forum > Other
environment variables
(1/1)
cousinp:
My system upgraded and the path I had for the fpc was no longer working. I tried to redo it but I messed up and think I destroyed the path that had to be amended with the fpc path. How do I get back to the original system advanced environment variables. there are user variables and system variables. Where do I add the path for the fpc.
thanks,
Bart:
What OS?
Bart
Remy Lebeau:
--- Quote from: cousinp on September 11, 2024, 07:06:41 pm ---My system upgraded and the path I had for the fpc was no longer working.
--- End quote ---
Can you be more specific? What was upgraded, exactly? What path were you using before, and how is it not working now?
--- Quote from: cousinp on September 11, 2024, 07:06:41 pm ---How do I get back to the original system advanced environment variables.
--- End quote ---
It is unlikely that the OS maintains any kind of history of environment variables, so if you messed them up, you are going to have to manually re-edit them to remove your changes. This is why it i not advisable to manually mess around with environment variables without knowing what you are doing.
--- Quote from: Bart on September 11, 2024, 11:26:34 pm ---What OS?
--- End quote ---
"user variables and system variables" likely implies Windows.
dbannon:
If you are using Linux, I have something like this at the end of my .bashrc (so I can easily switch compilers) -
--- Code: Pascal [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---FPCV='fpc-3.2.3'export OLD_PATH="$PATH"# use OLD_PATH like this -# export PATH="$HOME/bin/FPC/fpc-3.2.2/bin":"$OLD_PATH"export PATH="$HOME/bin/FPC/$FPCV/bin":"$PATH"
Davo
Navigation
[0] Message Index