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
2answers
63 views

How to execute the path export file in mac?

I have a file with the content: export PATH=$PATH:$HOME/PyModel/bin export PYTHONPATH=$HOME/PyModel/pymodel:$PYTHONPATH export PYTHONPATH=.:$PYTHONPATH When I try to run this file it opens with the ...
0
votes
1answer
84 views

how to make cmd.exe inherit user variable instead of system variable

My cmd.exe when started always inherit SYSTEM settings of PATH which could not be changed due to GROUP POLICY set by firm. Related: Windows XP Environment Variables but my cmd.exe 's PATH is not a ...
0
votes
1answer
271 views

Why does my path not default to using Python 2.7 instead of 2.6?

I am using Google App Engine but starting programs from its interface is not working. The logs in GAE indicate it is trying to use python 2.6 and it needs 2.7 so it fails to run. I have used python ...
0
votes
2answers
152 views

Using two python paths for vim in Windows

I wanted to simply :!python % in order to run the file im using in vim, but the obvious conflict is that there's no way for me to distinguish python2 and python3 since including both to $PATH$ would ...
1
vote
0answers
117 views

How to copy/paste fully qualified file path from Microsoft Word on Mac

The Properties dialog is NOT copy-able. And the "Save as" dialog does not display full paths. Highly frustrating. Any suggestions here?
1
vote
0answers
1k views

In-path executables not found when called from “Open command window here” console

I uses several CLI tools such as curl, ipcalc, perl, php, wget, etc. When opening a command prompt either via the Start menu or "Run..." > cmd I can invoke theses tools just by giving their name: ...
2
votes
2answers
147 views

How can I list permissions of every component in a file path?

Sometimes it is necessary to determine on which directory in a path access rights are limited. Here is an example: $ ls /sys/kernel/debug/usb/devices ls: cannot access /sys/kernel/debug/usb/devices: ...
1
vote
1answer
149 views

Need help $PATH and terminal commands relink - no sudo, ps, grep

I had to change some path settings to install node.js in turn I must have edited a file that removed the path from the correct directory, whereby sudo, ps, grep etc. live. I am not sure how to reset ...
6
votes
4answers
26k views

How to add a line to .bash_profile

I just installed Homebrew on bash on my Mac and now I need to do this: Once you’ve installed Homebrew, insert the Homebrew directory at the top of your PATH environment variable. You can do ...
0
votes
1answer
92 views

How to properly add preffered directory with duplicate binary to PATH?

I need to use prebuilt binaries to compile Android from source. The problem is, that seems like it's using the binaries I do not want it to use. As far as I understand gcc from the first directory in ...
1
vote
2answers
10k 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
2answers
881 views

How to change the $PATH in Mac OSX

I've installed git via the instaler and not with terminal with commands, and my $PATH changed, the path to the 'local' git was added the the end of the variable, and my $PATH changed to this: ...
3
votes
2answers
101 views

Why is there no /usr/bin/ in windows? Would it be dangerous to include the entire Program Files folder to the path?

I am a Linux user spending some time in Windows and I'm trying to understand some of the Windows paradigms instead of fighting them. I notice that each program installed in the traditional manner ...
1
vote
4answers
306 views

How to list folders in bash without the trailing /

I know ls -d */ lists all folder in current directory as dir1/ dir2/ dir3/. Is there the possibility in a bash script to show folders as dir1 dir2 dir3?
0
votes
1answer
63 views

Where is the path defined for the windows “run prompt”

Pressing Windows-R brings up the run-prompt. I start programs from this all the time. I installed a newer version of an application (devenv.exe) -- the old version is in a different directory, and I ...
9
votes
1answer
459 views

How to make auto complete available for directories in cdpath for tcsh?

I just learned the trick for setting up cdpath in tcsh and it looks pretty useful. However, it seems that auto-complete of sub-folder names doesn't come with it. Is there any trick available on that? ...
1
vote
3answers
141 views

Java PATH issues

I tried to compile a java file and I got the "javac isn't recognized as an internal or external command" error. Last week it worked just fine. The PATH variable seems to have been modified by ...
1
vote
1answer
37 views

How do I list commands shadowed by other commands in PATH?

How do I list all the commands in my path which are shadowed by other commands? E.g., if I have /bin/foo, /bin/bar, /usr/local/bar and /usr/bin/foo, I want to see something like foo in /bin shadows ...
0
votes
1answer
180 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
194 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
119 views

PATH is different when echoed to Java console from Applet than when echoed in CMD

When running a Java applet from IE or Firefox, the Applet is echoing out the PATH variable to the Java Console, however it adds to the front of the PATH the location to the browser. This is not ...
0
votes
2answers
2k 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 ...
1
vote
3answers
153 views

Why is the java set path property not permanent in my computer?

i have to type the "set path" command manually every time in the cmd. I have it on my environment variables on my computer but it doesnt work. I even tried installing and uninstalling the java but no ...
1
vote
2answers
180 views

Trying to access Libraries folder with cygwin

I saved some files in Libraries -> Documents on windows 7 and I try to access to those files with cygwin. Where is that folder Documents ? I've looked under /cygdrive/c/Users/my_user/ but I ...
0
votes
2answers
187 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
81 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
2answers
107 views

How can I find the FULL PATH for a file that is located in the “Program Files” (Win8)

I'm having trouble finding the full path for an executable file in Windows 8. I tried the "hold shift, right click, and copy as path" method. But that doesn't seem to work with .exe files in the ...
4
votes
1answer
2k views

What is the default path setting for windows 8?

I accidentally changed my path in control panel! What should I set it to?
4
votes
2answers
2k views

How does Mac OS X set the value of $PATH?

I have a basic understanding on how the $PATH can be set, but is there a documentation that fully describes where Mac OS gets all the paths that get appended to $PATH? I'm aware of things like ...
0
votes
1answer
250 views

Exit windows batch script gracefully?

My PATH is too full, so I need to put things in batch scripts like "cl.bat": @echo off %comspec% /k ""%ProgramFiles%\MICROS~1.0\Common7\Tools\VsDevCmd.bat"" call cl %* Unfortunately this has a ...
0
votes
1answer
716 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
2answers
78 views

Utility to create symlinks for all executables in the Start Menu?

It's really annoying in Windows that if you want to run about any third-party program from the command line, you either have to use its full path or manually add its containing directory to PATH. Is ...
0
votes
1answer
629 views

Putty with NAS4FREE - Directory “not found”

Basically, the directory I want to access is listed but I can't access it. Below is the Putty command line:- login as: root root@192.168.0.104's password: Last login: Thu Sep 26 21:14:38 2013 from ...
2
votes
1answer
156 views

Windows XP style compact path in Windows 7 file browser window

I do lots of navigating between folders trying to keep projects synced and I've tried using things like winmerge but they're too clunky and slow. I switched back to old fashioned windows explorer but ...
0
votes
1answer
55 views

I can't get Path to recoginize Java SDK

Alright, I'm trying to access Java SDK tools such as JavaC through CMD but I can't. Here is my echo %path% C:\Users\msivri>echo %PATH% ...
0
votes
0answers
251 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
4answers
565 views

$PATH is not updated

It seems all about this was already discussed, but I can't resolve my problem. I have all necessary strings in /etc/paths /usr/bin /bin /usr/sbin /sbin /usr/local/bin in ~/.bash_profile export ...
17
votes
3answers
24k views

Using relative paths for Windows shortcuts

I have a folder scheme like (highly simplified version): New Files >Tools >Scripts Tested Files >Tools >Scripts ... and I'd like to have a shortcut in each folder from the "New ...
1
vote
0answers
631 views

What should I fill in “path for boot option”?

I am really confused about this case. I have a new laptop but no DVD drive. I want to install windows by USB. I have set my USB to bootable, and the problem is, there is no option for BOOT priority ...
1
vote
1answer
91 views

Can't access file in $PATH

Here is my /etc/paths: /usr/bin /bin /usr/sbin /sbin /usr/local/bin I added a file yuicompressor.jar to /usr/local/bin. Then I ran: sudo java -jar yuicompressor.jar but it says Unable to access ...
1
vote
2answers
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 ...
9
votes
2answers
10k views

How to change my system path when it is already too long?

In windows 7, my system path is too long. I want to edit it so I can remove some unneeded paths. However when I click advanced system settings ... [Window Title] ...
0
votes
3answers
515 views

How to store complete path using 7z on linux

I am looking for a simple way to backup files that have changed in the last 24 hours and creating a daily 7zip file ( I don't need permssion or users just files ). Using the following command I can ...
10
votes
2answers
5k views

What is difference between %WinDir% and %SystemRoot%?

What is difference between %Windir% and %Systemroot% in Windows Path Location? Both of them show "Windows" folder location.
1
vote
1answer
249 views

Issue with spaces in path name in Excel macro

VLOOKUP definition is: =IF(ISNA(VLOOKUP(RC[-7],'[\\sqlc\Curr table & Checklist\Currency table - foreign.xlsx]Sheet1'!R2C1:R9999C2,2,FALSE))=FALSE,VLOOKUP(RC[-7],'[\\sqlc\Curr table & ...
1
vote
1answer
397 views

awesome does not recognize PATH change

I use zsh as my login shell, lightdm as login manager and awesome as window manager. I changed the PATH Variable in my ~/.zshrc and it works on the terminal, but awesome itself does not recognize the ...
3
votes
1answer
309 views

Special characters in Emacs dired and attachment paths on Windows 7: “\374” instead of “ü” displayed

I want to use dired+ in Emacs for browsing directory paths on Windows 7. I'm having problems with special characters like äöü in dired mode and in attachment paths: dired When I'm trying to ...
1
vote
1answer
120 views

How to change the path that comes with the output of which command?

When I which mex at the linux system it gives a path but I want to change this path to another one. How can I set this default path to another location ?
0
votes
0answers
229 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 ...
5
votes
3answers
6k 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 ...