0
votes
1answer
27 views

Windows - How to use user defined environment variables in system path

As the question states, I have some variables defined in my user environment in windows 8.1. Now I want to have something like this as a path: C:\Program Files (x86)\Intel\iCLS ...
0
votes
0answers
30 views

How to recover from PATH being truncated to 1028 characters by SETX

I received an error on Windows 8 after trying to use SETX to add JAVA.exe to the Windows PATH variable: WARNING: The data being saved is truncated to 1024 characters. After a reboot, I notice that ...
1
vote
0answers
21 views

php is not recognized as an internal or external command although it is available in commandline

this is somewhat of a tricky question when it comes to "where should I place it?", but I assume a general problem behind it, which is why I am putting it on superUser. I have a Doctrine script which ...
0
votes
0answers
18 views

path setting appears twice in env output

After an OS version upgrade I have the following strange problem: % port MacPorts 2.3.1 ... % sudo -i # port MacPorts 2.3.1 % sudo port sudo: port: command not found Furthermore, if I do it all ...
6
votes
1answer
53 views

How to determine whether a folder in %PATH% is required in Windows 7

How can I determine whether a particular folder in the PATH environment variable is used by the system? Recently, some software that relied on the system PATH stopped working b/c another package ...
0
votes
1answer
32 views

Win7 loses PATH from user profile

Recently, a very weird thing started to happen that has not happened before: Suddenly, from out of nothing Windows 7 & "forgets" the part from PATH from the user profile. As can be seen on the ...
1
vote
0answers
66 views

Is it possible to set my PATH variable in a desktop entry?

I've created a bin directory in $HOME with shell scripts that are each set up to load a Firefox profile; this way I can use a simple command like e.g. facebook to open a Firefox profile reserved for ...
0
votes
1answer
45 views

Path variable seem to be ignored

Don't know why but some paths listed in the path variable seem to be ignored. For instance, processing, that when is executed from the right folder it runs without problem, but it is ignored whenever ...
1
vote
1answer
189 views

Environment variables and commands lost after Windows 8.1 upgrade

No sooner did I upgrade to windows 8.1 from windows 8, I found that I was unable to run commands from commandline like python, pip, cat,ls etc which are installed in the system when windows 8 existed. ...
0
votes
1answer
22 views

Adding App to Path on Mac OS X

I'm in the process of migrating from Windows to Mac OS X. Right now, I'm trying to use this plugin in an application. The plugin states: Make sure you can find Magick++-config in your PATH. My ...
1
vote
1answer
15 views

env command shows 3 times same path

When i run env it shows 3 times /usr/bin under PATH . Same for every path under PATH title. For example - my scala bin directory shows 3 times . However, in my .bash_profile, it is written just one ...
0
votes
0answers
16 views

Java with multiple versions on Windows [duplicate]

I have both Java 6 & 7 installed on my machine. My Windows' PATH variable has Java 6 JRE's location added to it. But when I open Command Prompt or Windows PowerShell and type java -version it ...
1
vote
0answers
59 views

Would a longer PATH environment variable slow down a system?

In Windows 7, will a long system PATH environment variable slow down the system in any noticeable/tangible way? My system PATH variable is 45-entries deep. I have an i7 930 @ 4.2GHz, but out of ...
0
votes
1answer
43 views

Does the order of the directories listed in the Windows PATH variable affect system performance in any meaningful way?

I've noticed that when programs add their directory to the PATH environmental variable, most append it to the end but a few add it at the beginning, before the windows directory. So it made me wonder, ...
2
votes
3answers
585 views

How to delete a file from the file system in Linux when I don't have permission?

I re-installed ns2, but didn't delete a file from the filesystem with path: /usr/bin/ns So when I type on my terminal: which ns I get: /usr/bin/ns Instead of the path I have set which is: ...
1
vote
0answers
140 views

PATH variable - System vs User - why is it dangerous to modify System PATH on Windows?

While installing MinGW, the users are warned about making changes to the System PATH variable: You should not alter the system path variable in any manner, or you will cause all sorts of problems ...
2
votes
2answers
111 views

Name “wmplayer” is not recognized as an executable file

I cannot run wmplayer from either cmd or PowerShell. My OS is Windows 7 64 bit. I can do it using start wmplayer but I cannot use parameters. Please, help me to handle it.
1
vote
1answer
94 views

How do I extend my PATH environment variable?

Being a power user, my %PATH% variable just isn't long enough to install everything I want to install. Is there any way I can extend the effective length of the variable, or otherwise get more paths ...
1
vote
2answers
830 views

Strange PATH issue in Windows 7 - goes null after being set

I have some sort of a problem with the PATH system variable. Since I use a lot of cmd apps and scripts I've added a lot to it. But the string's length is not the issue. I've worked around this ...
0
votes
0answers
43 views

Path Variable (for tex) Replaced

While installing gcc compiler, I realized I mistakenly replaced path variable for latex editor with path variable for gcc compiler. I have windows 8 and texstudio. what could be possible path variable ...
0
votes
1answer
49 views

%PATH% in Explorer bar causes error

When I type "%PATH%" in the address bar of Explorer, I get the error "Windows can't find ...
1
vote
2answers
2k views

I overwrote my environment variable PATH

I've accidentally overwritten the environment variable PATH in Windows 8 (64 bit). How can I reset it? I'm scared to shut down the PC before fixing this problem. Otherwise I might copy it from ...
0
votes
0answers
39 views

Removal of old version of java and install new java version

I have removed the older version of java installed (JDK 1.5) and have installed java 7. Now It shows both JDK versions in $PATH. I want to remove all installed java files and want to install new java ...
0
votes
1answer
113 views

Cygwin messes up Windows PATH

I installed Cygwin and uninstalled it after some time on a Windows 7 machine. But, the PATH variable directories naming is not correct now. Could some one tell me how do I correct this? Log below - ...
1
vote
4answers
148 views

Mac OS X keeps “old” environment variable around

So far I had /Applications/play-1.2.5/ added to my $PATH variable. Now I'm working with 2.2.1, which I installed in /Applications/play-2.2.1 and changed in ~/.bash_profile (which is getting sourced at ...
0
votes
2answers
855 views

Command prompt cannot find PATH variable

Sometimes, my command prompt cannot find the PATH variable. I have this occasional problem at work where when I open command-prompt and run commands like ipconfig or subst, I get an error saying ...
0
votes
2answers
157 views

How put path changing .bat file inside %PATH%?

I have a problem described here (you can read it for better understanding). I need to write .bat file that change path. For example: While sending a command in cmd: cd ~ I want to go to %HOMEPATH%. ...
4
votes
1answer
64 views

When should you set PATH variables in “User variables” vs. “System variables”?

On a single-user system (Windows 7), does it matter whether you set PATH variables in User-variables or System-variables? Why choose one over the other?
0
votes
1answer
370 views

How to set path for MinTTY under windows/cygwin correctly?

I made windows shortcut with the following target: D:\APPS\cygwin64\bin\mintty.exe /bin/env PATH=/local/bin:/usr/local/bin:$PATH /bin/bash --login -i I was expecting it prepend path with my given ...
0
votes
0answers
148 views

Why is Eclipse/m2e not using my computer's PATH when executing command line Maven tasks?

My project uses a Maven build system, and the Maven build includes a command line call to thrift to compile some files. In bash, mvn generate-sources successfully completes. But when I use m2e's Run ...
0
votes
1answer
2k views

Strange Windows Errors

I run Windows 7 and I've been getting strange errors from different applications, for example attempting to uninstall VMware Workstation causes the following error: "Error in the lua script: [string ...
0
votes
0answers
157 views

Deleted Path environment variable, how to find the older Path?

I saw the other post like this and that, but i can't solve my problem, I opened regedit and find the previous version of folder USER <-screen, when i select/open it I can see the folder in the ...
3
votes
1answer
1k views

Too many folders in the path variable

I've encountered a strange issue - I can't launch Visual Studio, nor run simple commands from command prompt, seemingly due to my PATH variable being too long. Now that I look at it, I see that many ...
0
votes
1answer
232 views

What is the difference between setting the path via editing /private/etc/paths vs ~/.profile?

I just found out I can edit my PATH by editing /etc/paths or /private/etc/paths, or by putting export PATH=$PATH:/a/path in ~/.profile or one of my other startup scrips. Is there a difference between ...
1
vote
2answers
2k views

How do I create a Python 3.3 environment with Anaconda (& Windows)

I installed Anaconda on my Windows XP machine about a week ago. It came with Python 2.7. I am trying to create a Python 3.3 environment on it. I followed these directions, resulting in downloading ...
0
votes
2answers
4k views

Setting environment variables and appending to system-wide %PATH% with a Windows batch file

I'm trying to set three environment variables and append them to the machine path. Right now my code is like this: setx CATALINA_HOME "C:\Program Files (x86)\Apache Software Foundation\Tomcat 7" /m ...
1
vote
2answers
253 views

What does // and :: in the values of environment variables mean?

On my Linux machine some of the environment variables contain lists of directories. The directories are separated by :. But sometimes they are separated by ::. Is it just a mistake that should be ...
1
vote
1answer
1k views

Access/modify the User path variable, not System path

I am trying to make an installer for a program and my workplace doesn't allow us 'regular' users to modify the system environment. In an effort to get around the restrictions, I'm trying to add my ...
1
vote
1answer
789 views

How to fix $PATH environment on Mac OS X?

Recently, I tried to install ruby and I somewhat messed up with variable environment. As a result, I am not be able to use paths in .profile or any other path files that I set up before (I tried in ...
4
votes
2answers
3k views

How to update the PATH user environment variable from command-line

I have a system PATH variable with the system level config. I use the user PATH variable to complement the PATH with user-specific config. I would like to update the user PATH variable from ...
1
vote
2answers
54 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
257 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
117 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
281 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
261 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
277 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
48 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
107 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 ...
5
votes
3answers
3k 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
145 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 ...