Tagged Questions

1
vote
0answers
30 views

%SystemRoot% can’t be found, shortcuts not working, icons missing

My Windows 7 installation is screwed up. Something's fundamentally wrong, but I don't know what. Taskbar icons reverted to a default icon, like they couldn't be found, shortcuts all stopped working, …
0
votes
1answer
65 views

Setting environment variables in Linux for all processes

I am using Ubuntu 9.1 (Karmic Koala) on my server. A simple matter of setting environment variables so that they are globally available across all processes is driving me crazy and I'd appreciate …
2
votes
1answer
36 views

‘less’ command clearing screen upon exit - how to switch it off?

Hi! How to force the less program to not clear the screen upon exit? I'd like it to behave like git log command: it leaves the recently seen page on screen upon exiting it does not exit the less …
1
vote
4answers
21 views

Why can’t you resize the Windows Environment Variable box?

Recently having to set my PATH environment variable installing the JDK, I found it quite annoying that the box where you set environment variables was not re-sizable, and had was generally quite …
1
vote
1answer
47 views

Updating screen session environment variables to reflect new graphical login?

I use linux, and I like to do all my command-line work within a single screen session, so that I can restart my graphical login and such without losing my terminals. However, when I log out and back …
0
votes
2answers
49 views

Existence of USER environment variable in the shell

I heard (although I can't find any sources for proof) that the USER environment variable may not be set in a old Unix shells (maybe even some obscure shells as well). What is the probability that it …
3
votes
2answers
51 views

powershell: can’t modify environment variables

Hi, I have an environment variable set via "system properties -> advanced -> Environment Variables". I modified the variable's value. In cmd, I see the new value. In powershell, the value is still …
0
votes
4answers
165 views

Shell environment for su

I have some aliases and modifications to ls that I'd like available at all times. Is it possible to set environment variables for use when I am logged in as root after I sudo up with sudo su?
1
vote
2answers
113 views

Broken Snow Leopard Shell --how do I fix?

I think I managed to break my Snow Leopard shell, but I'm not sure. Is there a way to reset all env variables to default?
1
vote
1answer
86 views

Batch environment variable expansion when variable ends with a backslash?

I just need to ask if this is expected behaviour, it sure surprised me. We have a batch file that copies some files from a sub-directory of where it is located, to another location on every …
1
vote
3answers
86 views

Can I define a windows (XP) environemnt variable in terms of another environment variable?

I wish to define two environment variables as follows: PROGRAM_HOME=P: JAVA_DIR=%PROGRAM_HOME%\Java Obviously the following works: dir %PROGRAM_HOME% But, the following doesn't: dir %JAVA_DIR% …
1
vote
1answer
21 views

problems with enviroment variables

Since the last time I updated my computer my enviromental variables got screwed for some reason(the PATH variable didn't exist), and I set them back for java and maven .. the tools that I currently …
1
vote
1answer
270 views

Changing Path Windows 7 without restarting

Is there anyway to change my path environment variable (or variables in general) on Windows 7 Exterprise (64 bit) and have it take effect in power shell or command prompt without requiring a restart? …
1
vote
1answer
98 views

Setting $HOME in PowerShell

How do I change my default home directory to "C:\Users\khornsby" for every time I open powershell? I am running Windows 7. Below is info about the state of my environment. Windows PowerShell …
0
votes
2answers
78 views

Setting and getting windows environment variables from the command prompt?

This is a very basic question, but I can't find an answer. I want to set an environment variable from the command prompt and then be able to access it globally (for instance, I should see it by going …

1 2 3
15 30 50 per page