Path in computer file systems is in general the human-readable address of a filename or directory specifying a unique location in a file system, and expressed by a string of path components separated by a delimiter (most commonly the slash "/" or the backslash "\"). PATH (variable), is an ...

learn more… | top users | synonyms

1
vote
1answer
727 views

How can I set a system wide PATH-variable for cron on Centos 6.4

I'd like to make sure that every user specific crontab has the same PATH-environment. I tried to set the PATH in /etc/crontab but it seems like this config file is not read by crond. Following are ...
2
votes
4answers
749 views

python not in command line even though it is in path

When I type 'python' at the command line it says ''python' is not recognized as an internal or external command...' I have Python in both User and System paths. In the past I have been able to run ...
0
votes
1answer
424 views

Resetting $PATH in OS X 10.8

I was trying to install jhbuild earlier as part of a GTK+ install, and ran the command alias jhbuild="PATH=gtk-prefix/bin:$PATH jhbuild". Since then, I haven't been able to access many important ...
0
votes
1answer
477 views

Duplicates in the Path Variable Windows 7

Is it safe to remove duplicates from the Path Variable ? The Path Variable of my Windows 7 OS looks like this: 1 C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common; 2 C:\Program Files\Common ...
1
vote
1answer
114 views

zsh running a comand but not from the path

My zsh is doing something odd, it is running an executable that is not the first executable on my path. I have a wrapper script for ssh but the wrapper is not being invoked while the real ssh binary ...
0
votes
1answer
647 views

Changing Windows 7 PATH avriable [duplicate]

I saw this question and answer but this is not working for me. I am following Python tutorials. There is a section that requires me to change the path variable. I used the instructions in the command ...
1
vote
1answer
607 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 ...
3
votes
2answers
221 views

Is there any file check summing software which deals correctly with deep paths?

I have been looking for software which will checksum and verify/compare NTFS volumes with deep paths on Windows, and failing verification on every one I've tried. I've even tried writing my own python ...
0
votes
1answer
130 views

Syntax to create a file list

When I try to create a list of the files on a CD and to save it as a text file, something must be wrong with my syntax. Entering the command: gz@gcomputer:/media$ ls -aRl1 >> ...
0
votes
2answers
240 views

Vim file name completion relative to current file

In Vim, when I am in insert mode, and I want to use file-name completion, I want the search path to be relative to the current file, not the current working directory. For instance, if in insert mode ...
2
votes
3answers
100 views

How do I prevent $PATH from resetting itself each time?

I'm having difficulty setting up the PATH on my macbook pro. I followed this link to modify my path variable. Each time I start a new terminal I get a PATH pointing towards ...
3
votes
1answer
1k views

symbolic link to /usr/local/bin not running the program unless logged in as su

I'm trying to get eclipse 3.8 installed on Ubuntu 10.04. I've put the extracted files on: /opt I put a symbolic link in: /usr/local/bin ls -s /usr/local/bin: eclipse -> /opt/eclipse/eclipse ...
-1
votes
1answer
49 views

setting an appropriate PATH for one user

I'm new to linux, and am taking a course that requires me to do the following: Creating a login name Establishing appropriate group(s) Creating the home directory Creating the login shell ...
4
votes
2answers
2k 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 ...
0
votes
1answer
69 views

Do I really need Web Platform Installer in my Path environment variable

I'm not sure how this got onto my path: C:\Program Files\Microsoft\Web Platform Installer\ but it did, and now I want to know if I can safely remove it. Why is it there, and what, if any, negative ...
1
vote
1answer
1k views

Where to store bash scripts that all users may execute on Debian?

I have many bash scripts on my server, that all users may use. but it seems the location /usr/local/sbin is not the best place. I don't want to use the home directory of the users, cause ...
0
votes
2answers
2k views

Add /usr/local/sbin to the PATH of a user [duplicate]

if I type echo $PATH I only get /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games how can I add /usr/local/sbin to the path, so it is already there the next time? (I use debian ...
0
votes
1answer
68 views

In Windows 7 where should Path be set by Programs?

What are the proper procedures for the setting and use of the environment variable PATH in Windows 7? I have a Dell Desktop that defines 19 entries in the Path variable. These include 5 entries for ...
1
vote
0answers
26 views

How can I recover the Windows 7 PATH system variable? [duplicate]

I was installing GTK+ and the installer overwrote my path instead of appending to it. This is my developer machine at work, my path was full with all sorts of developer tools. What can I do to get it ...
1
vote
1answer
77 views

Define extra `$PATH` for either Passenger or nginx

I have a server with nginx and Passenger serving a Ruby on Rails app. It uses Bundler. Somewhere in this stack, the $PATH gets set to /var/www/APPNAME/shared/bundle/ruby/1.8/bin/. This directory ...
1
vote
2answers
115 views

Delete endless file directory

I had a bug in my java app, which created a folder structure, which never ends.. So i have afolder structure like C:/folder/folder/folder/folder/folder/.../... Now I am not able to delete this ...
0
votes
1answer
198 views

Executable not found although in PATH

My $PATH is set to a lot of directories including ~/bin and ~/target/bin I want to execute script.sh which is in ~/target/bin but I get the error bash: ~/bin/script.sh: No such file or directory ...
1
vote
2answers
53 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
224 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 ...
0
votes
3answers
227 views

win-bash won't detect root drives?

I'm using the windows port of bash known as win-bash, and based on what it says about paths: One important difference is the handling of drives: cygwin uses its installation directory as root ...
0
votes
0answers
52 views

which program is really running?

I am running a self-compiled version on python2.7, --prefix=$HOME, so as not to interfere with the standard installation of python2.6 (on Ubuntu 10.04). Had some problem importing the ssl modules, ...
2
votes
2answers
88 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
240 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 ...
0
votes
1answer
52 views

Script with path in Filemaker Pro 12

I'm using OS X 10.6 & Filemaker Pro 12; I'd like to have a script in FM to automatically open a .pdf file from a container field using Preview (dumping the file on the desktop) but it has to be ...
0
votes
1answer
304 views

Which DLL is Windows using?

I am trying to run a program on my Windows 2000 machine that is installed in C:\Program Files\TradeLog. The program crashes with an "Invalid operation in GDI+ (Code: 1)" exception message. This ...
0
votes
1answer
237 views

I think I broke something in my registry

So this is a two part problem. I was following directions trying to install some software and I misunderstood a poorly written segment of the installation instructions. This led to me deleting my ...
2
votes
1answer
810 views

GitHub's password cache helper doesn't recognize git in path

I'm trying to set up the password caching utility that GitHub recommends for Windows 7 at the bottom of this page. When I run the installer, it tells me that it can't find GIT in my path environment ...
4
votes
2answers
1k views

How can I scp when path and / or filename to copy has spaces?

I have in a remote remote_host a file like this: \home\user\path with spaces\filename with spaces.ext And I want to scp it to current dir .. How can I do that? Thanks!
1
vote
2answers
4k views

Why can't Excel open a file when run from task scheduler?

I wrote a powershell script that opens an excel workbook and runs a macro. When I run that script from PS console, or even from command line using powershell.exe script.ps1, it jus works. When I set ...
2
votes
1answer
74 views

launching applications from the Windows command prompt?

Is there a Linux methodology to include .exe files symbolically to a location referenced by the %PATH%? The process seems trouble free on Linux, but when attempting to do similar actions via mklink on ...
1
vote
1answer
244 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
2answers
357 views

How to make scripts run from anywhere on OS X?

I've correctly added my scripts folder to my $PATH. But I still cannot run the scripts from anywhere by simply calling them. How do I achieve this? Example. If I have ~/scripts/ in my path and in ...
0
votes
0answers
182 views

Where is my PATH env. var being redefined?

Since a couple of days ago my Ubuntu 12.04 installation is presenting some strange behavior, due to auto update probably, as I've not messing with any config: 1 - The system default encoding changed ...
0
votes
2answers
178 views

How to call certain program from any directory, from Command Prompt (Windows)

I am really sorry if this question is stupid or something, but how can I make a program (say vim editor) so that I can call it from any directory, even though it is not directly installed in that ...
1
vote
1answer
3k views

chkdsk: setting a specific path is not working

I can set the drive (volume), but not directory path or file path. chkdsk (with /h) utility shows that I could set the optional parameter path and filename, but I get the following message instead. ...
2
votes
1answer
63 views

MacPorts Vim prefixes $PATH with /etc/paths

For some reason it seems that vim (installed through macports: VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Feb 25 2013 01:56:26) prefixes my $PATH variable with the /etc/paths files. Although I ...
0
votes
1answer
284 views

PowerShell in conEmu has different PATH from cmd

Why does PowerShell on conEmu have a different PATH from cmd? I see this when I do openssl version in PowerShell I see that 2007 version and in cmd I see the 2013 version.... This is my startup ...
1
vote
1answer
902 views

upgrade to openssl 1.0.1e on windows

I know I am missing a crucial step, but I can't figure out what to do I have openssl OpenSSL 0.9.8e 23 Feb 2007 I downloaded openssl for win32 and installed it in c:\openssl I added c:\openssl\bin ...
2
votes
1answer
372 views

Starting a program in a bat file using the Path variable

I often use a command line application. Its path is defined in the environment options, so in the PATH variable. When I manually launch the console and if I type the program name, it's launched. For ...
1
vote
1answer
249 views

Not able to access a Windows 8 binary from the command prompt even when PATH is set properly

I am currently seeing a weird problem in Windows 8 installed on my laptop. I have copied "apache maven" to the C:\Program Files\Apache Software Foundation folder. I have set the JAVA_HOME, M2_HOME ...
1
vote
0answers
224 views

Unix set path not working

I installed a package s2cmd on my unix machine. It works fine when I run it from the folder it resides in, but it did not run from other locations so I set the PATH using the command export ...
1
vote
1answer
292 views

Why does window's Run run program from wrong path?

I have python 3.3 and 2.7 installed on my computer. Lately I decided to run python 2.7 more form Run, when previously python 3.3 was used. ("python" auto-completes in Run) In order to do it, I ...
0
votes
1answer
236 views

pkg-config on cygwin will not find the gsl package

I am trying to use the Cygwin method for re-learning C using 21st Century C book by Ben Klemens. I've installed Cygwin and have been using apt-cyg to install the packages mentioned in the book. The ...
0
votes
1answer
256 views

How do I make a relative link in windows with a space in the path [duplicate]

I want to make a relative link in Windows 7 to a path that contains a space character. Making a relative link without a space in the path works as follows (explained here): %windir%\system32\cmd.exe ...
0
votes
0answers
253 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. ...