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
0answers
10 views

Python Path variable can't echo by non-root

I edited my sudoers file by getting root priviledge as sudo -i Then i edited my sudoers file by nano /etc/sudoers I added Defaults env_keep += "PYTHONPATH" to sudoers Then from root i echoed ...
2
votes
2answers
75 views

Windows 7 cmd paths are different

I am trying to change the System paths on my computer. For some reason when I open cmd via run my paths are correct as expected. However when I Shift+Right Click in a directory + open cmd window ...
0
votes
1answer
20 views

How to copy-paste path statements for search results (Win 8)

Windows 8.1 I want to search my whole disc for folders whose names contain a certain text string. When I get the results, I want to be able to get a copy-pasteable path statement for each found ...
2
votes
2answers
45 views

How do I create a directory with a trailing space?

I'm using Windows 7 and need, for reasons outside my control, to create a directory ending in a single space. It will contain various files and subdirectories. I have attempted md and rename, also ...
0
votes
1answer
34 views

How to change CMD start directory [duplicate]

I want to change the CMD startup directory when I launch it via Start+R Currently, it points to my users folder. I need it to point to C:\Windows\System32\ When I navigate manually to ...
2
votes
1answer
252 views

How to Enforce Relative File Paths

When linking to PNG raster graphics from Inkscape SVG documents, it seems that Inkscape always insists on writing the absolute path to the PNG graphic to the file. This has many disadvantages (which, ...
0
votes
0answers
13 views

OneDrive Sync Issues with file path lengths

I have 2 PCs, one surface 3 pro and one self-built x64 amd PC. On my Desktop PC I can sync my OneDrive with no problems with the root folder D:\Onedrive... I then get an error on my surface that the ...
1
vote
1answer
165 views

Remoting into Windows 7 computer wipes out PATH

When I remote into my Windows 7 computer (local admin user), weird things are happening. I had RDC (mstsc) and Windows Explorer icon on my Task Bar, clicked on them then "cannot find item" error, ...
0
votes
1answer
15 views

Problems with PATH variable as sudo user

I'm having trouble to understand how the PATH variable is affected by sudo. I can run the command activator as a normal user because I've added the path where this application resides to that user's ...
5
votes
1answer
97 views

Disable XP SP2+’s FQP Requirement?

I finally gave in and decided to update XP to SP3. One of the things that bothers me about SP2+ and which caused me to put it off for so long is that it requires fully-qualified paths for file-types ...
2
votes
3answers
62 views

Can I change my PATH dynamically based on my cwd?

I would like to change my $PATH environment variable dependent on my current working directory. Say I'm in /foo/bar/baz and I have the directories /foo/node_modules/.bin and ...
7
votes
3answers
28k 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 ...
16
votes
3answers
21k 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 ...
0
votes
2answers
60 views

Why cmder does not import the user path variables?

The path variable in the cmder only contains those paths imported form the system path variable. While in normal command shell, the system path and user path will be concatenated. I've found in the ...
9
votes
1answer
391 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? ...
14
votes
3answers
15k views

Mac OSX: conventional places where binary files should live

I'm only vaguely familiar with Unix and the filesystem convention for Macs, so sorry if this is a dumb/easy question. I've downloaded an application that is a command-line application, and want to ...
0
votes
3answers
8k 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 ...
0
votes
2answers
27 views

Extending the command-line search path without editing the PATH variable

I want to extend my system search path without appending new directories to %PATH%, I am aware of the App Paths registry entry put that entry is only being accessed when using ShellExecuteEx which the ...
5
votes
4answers
21k 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 ...
2
votes
0answers
5k 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
24 views

Windows: add python scripts folder to path

On windows, I have some python scripts in a folder. How can I do to invoke a script without having to specify its full path? I tried adding the folder to the PATH environment variable but it's not ...
0
votes
0answers
12 views

Make manually installed programs visible in system(whisker menu)

I have manually installed aptana Studio under /opt/aptana, I have created a symlink under /usr/bin, but how can I make aptana visible in whisker menu, is there a systemwide daemon or config file where ...
1
vote
1answer
40 views

Evaluate %PATH% as the system-scope environment variable exclusively

In Windows' command line, echo %PATH% appears to merge the system and the user variables PATH in such order before printing. That seems reasonable, but I would also like to be able to print only the ...
1
vote
3answers
47 views

How To Quickly Switch Paths (in Bash)

Sometimes, usually when installing packages with brew, I want to disable/remove certain parts of my path, and then later restore them. I haven't been able to find an easy way to do this, and while I ...
1
vote
1answer
21 views

Should system path & user path match?

This morning I was trying to add python to my windows 7 PATH and used: setx PATH "%PATH%;C:\python34\" /M This seems to have changed my path but not in the manner I'd hoped! My user path now ...
2
votes
3answers
6k views

How do I stroke a path in GIMP (or, just draw a line)?

I want to just draw a simple line in GIMP. The usual method, which I'm sure worked before, is to use a path then stroke it. I selected the path tool, then clicked 2 points to make a straight line ...
1
vote
1answer
78 views

My computer can't find the git command

I recently installed git on my computer (OSX 10.10.1) and when I run git I get git: error: unable to find utility "git", not a developer tool or in PATH. So I checked, found that I didn't have the ...
55
votes
4answers
31k views

Windows 7's PATH and environment variables are corrupted

I have no clue, but lately I've been having this problem. After running my workstation suddenly something destroys PATH and lots of stuff stops working. Initially, my path had MANY directories listed ...
6
votes
4answers
48k views

Where are the user profile directories of Google Chrome located in?

Where are the user profile directories of Google Chrome located in? It may seem like a very simple question, but I couldn't find it. I checked inside %APPDATA%, but there were noting relevant there. ...
14
votes
3answers
56k views

How to globally modify the default PYTHONPATH (sys.path)?

On a Ubuntu (10.10) system, I have a Python package that installs itself into /usr/local/lib/python2.6/site-packages/. This isn't contained in the default path (sys.path). How do I add this directory ...
2
votes
1answer
25 views

grep -l output filenames with spaces

I want to loop over files with for f in `grep -rsl "foo" . `: do sed -i -- "s/foo/bar/g" $f; done; But since filenames contain spaces, a filename is split whenever a space is found. How can I ...
2
votes
1answer
16 views

UNC path with hostname omitted?

I have an application that opens a file, the path of which is set to what looks like a UNC path, but with the double slash and hostname removed i.e. instead of \\HOSTNAME\SHARED\FILE it has ...
2
votes
0answers
24 views

Jekyll installation successful but command not found

I am trying to install Jekyll following http://jekyllrb.com/docs/installation/ ○ → sudo gem install jekyll Password: Fetching: jekyll-2.5.3.gem (100%) Successfully installed jekyll-2.5.3 Parsing ...
0
votes
2answers
653 views

Git in Visual Studio 2013 stops working abruptly

Yesterday, I went home with Git working perfectly well inside Visual Studio 2013. I could 'Compare with unmodified' for a source file, I would see the version control status of my source files, and ...
1
vote
2answers
38 views

Why is SET PATH= not working in the same batch file?

I have a USB flash drive with portable installs of Dropbox and emacs. One of the functions I want to run in emacs needs to have sha1sum.exe in the path, so I also put coreutils on the USB. I am ...
1
vote
3answers
129 views

Telnet : How to get [user@hostname userFolder]$

I'm using ubuntu 14.04 LTS and i have successfully configured a telnet server. When i logging into telnet server i always get the path(int the terminal) as username@hostname:~/Folder_Name$ I ...
1
vote
1answer
73 views

Do I need SQL Server paths in my PATH environment variable for it to work?

SQL Server adds things to my PATH environment variable, and over time that bloat makes me hit the 2048-char limit in Windows 7. Do I really need them there for SQL Server to run? This is on a ...
1
vote
0answers
23 views

Specifying which file to run with duplicates in %PATH%

Is it possible to specify which version of a file to call when there are duplicates of it on your PATH variable? Background I have both mingw32 and mingw64's bin folders on my path such that ...
1
vote
0answers
17 views

How to apply path in clipboard in Total Commander

I know there is a feature in Total Commander that copies actual path into clipboard. I need the opposite, which uses the path in my clipboard and navigates to it, so that I don't have to click on the ...
2
votes
1answer
42 views

How can I make windows always show full folder path

Whenever I Click on "Desktop" in windows explorer, I end up with a "hidden" path, such as this: which makes navigating to the "one up" folder hard (I can enter a folder within desktop, then ...
2
votes
2answers
150 views

How to delete old $PATH echo in Mac

After i changed my Mac username(using the way supplied by Apple Documents), I found that when echo $PATH, there are some old paths in it. ...
3
votes
1answer
286 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 ...
176
votes
4answers
202k 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 ...
2
votes
0answers
17 views

What is the path environment variable? [duplicate]

I just started with using the (Windows) command line tool for working with npm. And I end up quite often on StackOverflow when I'm stuck with some error and the solution is often to add [something] to ...
0
votes
0answers
16 views

Inkscape - is there a way to edit the path that objects have been spread along after using 'Extensions > Generate from path > Scatter…'

In inkscape - is there a way to edit the path that objects have been spread along after using 'Extensions > Generate from path > Scatter...'. I would like to tentatively have a path with objects ...
6
votes
2answers
2k views

How to use unison's path option with multiple paths?

I want to sync the following locations using unison: /home/user/Audiobooks with /shared/Audiobooks /home/user/Music with /shared/Music /home/user/Podcasts with /shared/Podcasts What would the ...
0
votes
1answer
33 views

Issue when disabling a path using PATH Manager

I'd like to use PATH Manager to disable/enable a given path from the PATH environment variable in a convenient way. I am trying to disable the path ...
3
votes
2answers
2k views

Can't use homebrew installed git

I'm encountering a really weird issue when I try to use the latest version of git I just installed via homebrew. which git is pointing me to the homebrew install, but calling git returns the original ...
0
votes
2answers
52 views

Append to System PATH variable without including the User's PATH variable

Imagine the following environment variables: System PATH = C:\Windows Bob's User PATH = C:\Users\Bob In a command prompt the PATH command returns C:\Windows;C:\Users\Bob After running setx /m PATH ...
-1
votes
1answer
36 views

Can implementing programs to command line/path be dangerous?

Quite a few programs I use have an option for implementing itself to my computer's command line. I've currently disabled that feature on most of my programs (except node.js and a few others). Example ...