1
vote
2answers
43 views

Creating a system variable

I would like to get some suggestion regarding adding an entry to the PATH variable under System Variables. Whenever I install a program on my windows machine, I end up adding the path to the program ...
0
votes
1answer
44 views

How to resolve conflicts with different apps relying on different PATH variables?

I have two programs that rely on some .dll files. (Wikidpad and Microsoft WebMatrix2.) I was using WikidPad for a while without issue. After I installed WebMatrix2 (which uses IIS Express, I ...
2
votes
2answers
47 views

Restore 'where' to PATH? [duplicate]

I'm trying to find out where programs are installed, but Windows can't find where! Trace: C:\Documents and Settings\apenneba>where java 'where' is not recognized as an internal or external ...
0
votes
2answers
50 views

How can I add a folder containing a semicolon to the Windows PATH?

I noticed that the semicolon ; is a valid character for Windows (NTFS) file and directory names. The semicolon is, however, used as element delimiter for the PATH environment variable. Say I have a ...
1
vote
1answer
61 views

Why would the TEMP environment variable contain more than one path?

A colleague's %TEMP% environment variable has this value: C:\Users\his.name\AppData\Local\Temp; C:\Program Files (x86)\MATLAB\MATLAB Compiler Runtime\v78\runtime\win32; C:\Program Files ...
0
votes
0answers
84 views

Path variable broken Windows 7?

I have been trying to compile and execute both Python 2.7 and Java programs on my Windows 7 computer. Both of these have been installed, and I am attempting to run my programs off of the command line. ...
1
vote
1answer
35 views

Escaping a directory in a $PATH-like list

I'm developing a wrapper for LibGit2, the Git library. And I come out with a problem: Many GIT functions accept path lists, that is, a string composed of a series of paths separated by a token, that ...
1
vote
2answers
71 views

Cygwin not cooperating

This is gonna sound very simple for you guys but I've never installed cygwin and the tutorial I used gave no contingency plan for when something goes wrong. I added the path C:\cygwin\bin to my Path ...
3
votes
4answers
336 views

What is the Unix PATH variable and how do I add to it?

Many programming tutorials ask users to add something to their PATH but don't explain what it is. The existing resources that explain the PATH to users new to the command line are not very good. ...
0
votes
2answers
47 views

Add a single exe in given directory to PATH environmental variable

Is it possible to add a single program among many in a directory to the PATH environmental variable? Say I have a bunch of programs in D:\utils. Rather than adding D:\utils\ to PATH I want to add ...
1
vote
4answers
6k views

Easier way to change environment variables in Windows 8? [duplicate]

Possible Duplicate: What are PATH and other environment variables, and how can I set or use them? Ok for starters, I know that I can edit my environment variables by going into Control ...
0
votes
1answer
43 views

Uninstalling software leaves behind PATH information [closed]

Uninstalling our products client software leaves behind the PATH information. On the first installation the PATH was C:\Program Files(x86)\Company\Product\Clients\bin; after that for every ...
0
votes
0answers
153 views

My path keeps getting truncated and I have to restart explorer.exe to fix it

I have a mysterious problem on my machine. Periodically I find that my path on Windows 7 machine gets set to ...
2
votes
1answer
1k views

Modifying the Path environment variable is not working

I have my PATH variable set on my Windows 7 machine, and everything appears normal when I do echo %Path% The paths look fine and are separated by ";" like normal, however, when I try to run any ...
2
votes
1answer
246 views

Is there any way to recover an environment variable?

I recently installed openssh on my Windows 7 machine. The install overwrote my Path variable and blew away all of the other paths I use in the command line. I probably have 50 paths in there and it is ...
0
votes
2answers
315 views

Why can't I use %USERPROFILE% in %PATH%?

On my Windows 7 machine, using the System Properties > Environment Variables tool, I try to add %USERPROFILE%\Bin to the system variable PATH. For some reason, that doesn't work, even though ...
1
vote
1answer
90 views

Accessing external HDD on different Windows computers with the same path

I have a external HDD and have a folder in it called icons\ which stores all the custom icons (yes, I'm nostalgic!) for the different folders on my drive. But when I open my hard-drive on a different ...
7
votes
2answers
7k views

Environment variables in bash_profile or bashrc?

I have found this question [blog]: Difference between .bashrc and .bash_profile very useful but after seeing the most voted answer (very good by the way) I have further questions. Towards the end of ...
1
vote
2answers
854 views

Win7: messed up system - set too long path variable

I just messed up my Windows 7 Enterprise 64-bit. I tried to install CMake - and during installation i got an error saying something like it can't set the path variable, because it is too long (I ...
1
vote
1answer
537 views

How can I find out where an environment variable (like PATH) was set?

I have a xterm with the bash shell in linux. When I echo $PATH, it is showing a directory and I want to know who put this directory in the PATH. How can I find out? Thanks!
2
votes
2answers
390 views

In which places is the Windows %PATH% defined? [duplicate]

Possible Duplicate: What are PATH and other environment variables, and how can I set or use them? I ran a third-party install script which added its folders to the %PATH% variable in the ...
1
vote
0answers
166 views

Prevent Windows System %PATH% from being prepended to user %PATH?

I know how to set system or user specific environment variables: Now, the problem is that the PATH variable is treated such that the value you enter for the user PATH will be automatically appended ...
1
vote
0answers
128 views

Why my $PATH is not inhereted by the invocked bash? [closed]

I work on an AIX system where I have no administrator privileges. It has several shells installed, default being tcsh. I am not allowed to change the login shell. Usualy I start my session from exec ...
2
votes
0answers
325 views

Windows command prompt seemingly ignoring PATH

I am trying to use a package called virtualenv for Python, which temporarily changes the PATH environment variable to add a certain directory and give convenient access to several executables. My ...
1
vote
0answers
4k views

libXtst.so.6: cannot open shared object file: No such file or directory

UPDATE: after qsub many times I noticed that when the hostname is opt### it appears to work, but for other nodes in which the hostname is of different topology int###, it does not. I've discussed ...
0
votes
0answers
76 views

How do you prevent PATH pollution in Windows when using the command line frequently? [duplicate]

Possible Duplicate: Best practice for Windows PATH/environment variables managing? If you use tools at the windows command line frequently, you know the drill. You install tool X. Unless ...
2
votes
2answers
632 views

How can I update cygwin shell environment variables set in System Properties window

Suppose I go into the System Properties window and add an environment variable to the Path. If I have a terminal window open, it will be unaware of the change, so I close it and open another one. Is ...
3
votes
2answers
672 views

How do you use environment variables in Advanced ActionScript 3.0 Settings of Flash CS5?

In Flash CS5, you can specify a Source path for the ActionScript settings so that the IDE can locate fully-qualified classes. For example, to have Flash IDE locate "flashObjects.Balloon" class I ...
0
votes
2answers
430 views

Is it possible to make a program or file globally available on your computer?

I am working in a Windows XP Pro environment and I am wondering if there is a simple way to make a program be executable from any path in the command prompt. Are environmental variables needed? And ...
75
votes
4answers
48k views

What are PATH and other environment variables, and how can I set or use them?

Questions about setting environment variables the PATH are very common here, and in most cases the answers are very similar to each other. In the future it would be nice to have a good Q/A for ...
0
votes
0answers
137 views

Secondary OS Installation “PATH” environment variable pointing to Primary OS location

I recently installed a secondary OS Windows Server 2008 R2 std. edition on my PC which is having Windows7 Professorial edition as the primary OS. Now the problem is, if I execute "PATH" command in ...
7
votes
2answers
3k views

adding PATH with SETX or PATHMAN or something else?

I am trying to add a PATH from command line, as with SETX %PATH%... it always expands the PATH, which I don't want. PATHMAN is exactly for this purpose, but it doesn't work for me on Windows 7. It ...
0
votes
4answers
1k views

where.exe does not find OpenSSL libs when %ProgramFiles% variable is used in the PATH environment variable

I installed both 32bit and 64bit version of OpenSSL libs on Vista x64. The 32bit version was installed in c:\Program Files (x86)\OpenSSL and the 64bit version was installed in c:\Program ...
5
votes
4answers
25k views

Different PATH environment variable for 32bit and 64bit Windows - is it possible?

Is it possible to have whole or part of PATH environment variable specific to the type of running process's image (32bit/64bit)? When I run some app from within 64bit cmd.exe I would like to have it ...
1
vote
1answer
135 views

strange character in my $PATH var

I'm on mac os x 10.6 aka snow leopard and I seen when I do echo $PATH some strange characters are appended to it. My path looks like: ...
3
votes
5answers
7k views

Command line app 'not recognized as internal or external command.'

A few years back I made a couple of console command line apps which at the time worked with no issues. I'd place them in the window/system32 directory and be able to use them from the console prompt ...
1
vote
1answer
370 views

“Inheriting” path variables in Windows

In Windows 7 I have added two user environment variables: M2_HOME %PROGRAMFILES%\Apache\apache-maven-3.0.2 M2 %M2_HOME%\bin In my head, both of those should work, however, only the first ...
2
votes
2answers
872 views

Windows 7 PATH not expanding

I am using the following to create and edit environment variables for Windows 7. Control Panel\All Control Panel Items\System -> Advanced system settings -> Environment Variables Under System ...
9
votes
5answers
4k views

Adding an .exe to default path without adding the directory

For example, I want to add notepad++ to my PATH, however the directory also contains uninstall.exe and several other files/executables and I don't want them to "pollute" my path. Can I just add the ...
2
votes
5answers
2k views

When someone says “in your path,” what does this mean exactly?

New at programming here. I couldn't find this when I searched google and SO, but I was wondering what programmers mean when they say "put X in your path." Is this the usr/bin? Any other resources I ...
0
votes
2answers
1k views

How to get access to environment variables in Windows?

I have borrowed a laptop with Windows XP from a company that I will do a project for. They say that I have almost Admiinistrator rights on the computer so that I can install software. Now I have ...
1
vote
5answers
439 views

Are there any alternatives to adding to the PATH environment variable in Windows?

Many applications (specially developer tools) require that you add the path to the PATH enviroment variable in Windows. I know what is does, but for me this feels low-level Aren't there any ...
2
votes
1answer
527 views

How to set PATH to run programs outside of default path?

I'm working on a project on my school's linux servers. I have a program deep in a directory, we'll say it's ...
1
vote
1answer
180 views

Why PATH variable is different between 'launching from command line' and 'click the icon' in Mac OS X?

As I asked in here, I learned that the environment variable of PATH is different depending on how I launch the app. Using 'aquamacs' from command line is run on top of bash, so the PATH variable is ...
5
votes
1answer
5k views

How can I set user environmental variables (such as PATH) from a non-administrator account on Windows 7

How can I set user environmental variables (such as PATH) from a non-administrator account on Windows 7? On Windows XP I could go into the Advanced Settings in the System Control panel. However, on ...
0
votes
2answers
513 views

Setting default path in Unix

I just installed valgrind on my Fedora12 machine. $ valgrind // 1 $ valgrind: Command not found. //error $ /usr/local/bin/valgrind // 2 works fine My $PATH has ...
0
votes
3answers
343 views

How to run a command from anywhere in Mac OS X

I need to use a command for converting my images to pvrtc. It is located in /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/texturetool. Right now I have to be inside that folder to be able ...
6
votes
1answer
7k views

Windows 7 - User-specific %PATH%

I'd like to set up a system for Windows 7 where each user has their own private directory in %PATH%. I tried setting %PATH% to %HOMEDRIVE%%HOMEPATH%\Bin;%SystemRoot%\System32;[...] but it doesn't ...
3
votes
1answer
9k views

How do I reset the $PATH variable on Mac OS X?

I've messed up my path variable, and now some apps that I run raise errors saying Command Not Found (error 127) for commands like date and sleep. These commands work fine when executed directly in the ...
2
votes
5answers
11k views

Spaces and Parenthesis in windows PATH variable screws up batch files

So, my path variable (System->Adv Settings->Env Vars->System->PATH) is set to: C:\Python26\Lib\site-packages\PyQt4\bin; %SystemRoot%\system32; %SystemRoot%; %SystemRoot%\System32\Wbem; ...

1 2