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

0
votes
0answers
10 views

exe file copied into c:\Windows\System32 not found in MinGW/MSYS

I have downloaded the sdelete tool from Microsoft and copied it into c:\Windows\System32 (Windows Server 2008R2). I thought the file should be accessible from MinGW/MSYS as exe files on the search ...
0
votes
0answers
28 views

cmd - Choose which executable to run

Building off this question, is there a way to choose which convert to run while you're executing in the command prompt, or do you just have to reorder Path?
1
vote
2answers
27 views

Path too long when deleting from powershell on remote computer

What is the easiest way to delete the file on remote computer with powershell if name longer than 260 chars? I have the following code but I am hitting 260 chars limit. $s = New-PSSession ...
1
vote
0answers
54 views

Why does phonegap not find Android when I set my path?

I am trying to setup phonegap to build for android. When I installed phonegape, it told me : npm WARN engine ncallbacks@1.0.0: wanted: {"node":"~0.6.7"} (current: {"node":"0.12.5","npm":"2.11.2"}) - ...
0
votes
1answer
20 views

Installing extensions of a program that is installed twice

I have Python installed twice in my computer. The python.exe file is located once under C:\Python34 and again under C:\Anaconda3. The first was installed through the standard Python installation, ...
0
votes
3answers
39 views

Why is a folder name different to its name in the file path?

I'm having a surprising amount of difficulty searching for an answer to this seemingly simple question. I came across an article on MSDN titled "Naming Files, Paths, and Namespaces", which whilst ...
1
vote
2answers
16 views

Create PATH for OS X Python virtualenv install

I'm a Terminal and Python newbie, but I'm using virtualenv a lot right now for a Python project. Changing directories manually to source the virtualenv in my filesystem is quite tedious, so I'm ...
0
votes
1answer
19 views

Add application (Sublime Text) to PATH in ZShell

My config: MacBook pro 2014 OSX Yosemite ZShell I'd like to be able to type: EdChigliak $: sublime "filename.txt" and have my file opened in Sublime Text. I suppose I need to add Sublime Text ...
8
votes
3answers
23k views

“sudo: port: command not found” after installing MacPorts on Snow leopard

I have attempted to install MacPorts in order to upgrade my Rails version so that I can work my way through Agile Web Development with Rails, PragProg (4th, 2011). I have followed the directions in ...
0
votes
1answer
24 views

Search directories listed in the PATH environment variable

I am trying to find and remove any instance of a .dll that appears in any directory that's on the PATH environment variable in windows. Is there an easy way to do this from the CMD window?
70
votes
17answers
21k views

Add directory to $PATH if it's not already there

Has anybody written a bash function to add a directory to $PATH only if it's not already there? I typically add to PATH using something like: export PATH=/usr/local/mysql/bin:$PATH If I construct ...
1
vote
1answer
29 views

How to set path for sudo commands

If I issue sudo my-command how does Linux look for that my-command? The my-command is in my PATH. I can invoke it without any problem. However, when I invoke it with sudo, I'll get command not ...
1
vote
5answers
3k 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 ...
7
votes
5answers
28k views

What is the path for JDK on Windows 7 64-bit?

When I work with the JDK, it says that javac is not recognized as an internal or external command. What shall I do? What is the path for jdk1.6.0_21?
3
votes
2answers
4k views

How to lock device id's to port addresses?

I want to dedicate certain USB ports to certain devices. How can I do that? For example: I want ttyUSB0 to be my mouse and ttyUSB1 to be my keyboard (always). I want to be certain that the startup of ...
0
votes
3answers
9k 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
0answers
11 views

Relative paths in mind map

I use a mind map software such as xmind. I include files and folders in my mind map by relative paths. I am wondering if I change the drive letter or change any intermediate folder name, how can I ...
0
votes
1answer
23 views

Change to a “parallel” directory in a single instruction

I would like to move directly from the "Classwork" directory into the "Assembly" directory with a single command line instruction. If possible, I would like to use relative paths to do this: I ...
2
votes
1answer
3k views

Change RStudio library path at home directory

Each time RStudio starts, it checks and creates ~/R if it doesn't exist. I want to change this path elsewhere. How can I do this configuration? I know that HOME=/some/path rstudio will work. But ...
0
votes
1answer
34 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
2answers
9k 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 ...
59
votes
4answers
33k 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 ...
1
vote
0answers
26 views

PYTHONPATH variable can't be echoed by non-root

I edited my sudoers file by getting root privilege as sudo -i Then I edited my sudoers file by nano /etc/sudoers I added Defaults env_keep += "PYTHONPATH" to the sudoers file. Then from root, I ...
2
votes
2answers
104 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
31 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
49 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
45 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
279 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
41 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
172 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
25 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
99 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
67 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 ...
8
votes
3answers
29k 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
23k 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
2answers
151 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
431 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
16k 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
2answers
32 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 ...
6
votes
4answers
24k 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
37 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 ...
1
vote
1answer
55 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
50 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
7k 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
311 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 ...
6
votes
4answers
51k 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. ...
15
votes
3answers
58k 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
31 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 ...