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

3
votes
3answers
2k 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 ...
-1
votes
1answer
42 views

Windows export PATH configuration

A have many variables in the PATH and I want to export and reuse them. Is that possible? (something like a .reg file)
0
votes
0answers
5 views

C# : Could not find a part of the path [migrated]

I know that this question was asked many times here before and i read it , but I can't find a solution to my problem. I'm trying to save image to the folder in my project : here is my code behind : ...
1
vote
1answer
25 views

Alias one program in a different order than $PATH

I alias pandoc='~/.cabal/bin/pandoc' because I don't want to change my $PATH order just for this one program. In general, programs I installed in /opt/, ~/.cabal/, and so on should precede defaults ...
0
votes
1answer
19 views

Can't find executable (pipsi) in my PATH even though my PATH is set correctly and permissions are also correct in ZSH

I have just installed pipsi. I'm on Mac OS X Yosemite and I'm using iTerm and running zsh via oh-my-zsh. My problem is that I get the following: ~ >>> pipsi zsh: command not found: pipsi ...
0
votes
5answers
29 views

No such file or directory after typing $PATH in terminal

when I write in terminal echo $PATH my output is :/home/bo/bin:/usr/local/bin:/usr/sbin:/usr/local/sbin:/usr/bin:/sbin:/bin but when I write just : $PATH this output I do not understand ...
0
votes
0answers
21 views

Can the %PATH% be recovered without any Restore Points?

I just found out that my PATH system variable in Windows is nearly empty (it has only the path to the ExtFS tool - I installed that one recently , and I'm guessing it overwrote the Path instead of ...
0
votes
0answers
14 views

Microsoft Word 2010 - partial file path [closed]

When I insert a file name and path, the entire path makes it so long that it is distracting because it goes back to the root - I just want to show enough that we would know which folder it is in, and ...
0
votes
1answer
41 views

replace different variables into a single variable

I have XML files with entries like this: <path>D:/Shared/export/Outdoor Stage2/Outdoor Stage2_6_Images\Image_0.jpg</path> <path>D:/Shared/export/Outdoor Stage2/Outdoor ...
0
votes
1answer
2k views

How to run a tcl script in NS2 when path in bash file is not found?

i have added the path to where i have saved my tcl script (i.e. where ns2 is installed in home/me/ns-allinone-2.35). i have created a .bashrc and .bash_profile too, since they were not there. In ...
1
vote
1answer
14 views

Inconsistencies with which command

I'm using the n tool to update my current version of node, but something strange is happening. I ran sudo n latest which in theory fetches the latest version of Node (v0.12.0 and installs it ...
0
votes
0answers
10 views

How to manually install a library so that it may be included from the standard path?

I need to install and use this library on a Raspberry Pi running a flavor of Linux. The linked website suggests getting the necessary files from the public repo but I was unsuccessful in doing so. I ...
0
votes
4answers
46 views

How to get current document path to clipboard in Microsoft Office applications?

How I can get full path of current document into clipboard when working with Microsoft Office applications? I'm mostly interested in Word and Excel. Example: I have open the following file in Excel: ...
1
vote
3answers
10k views

Why can't I use %USERPROFILE% in %PATH%?

On my Windows 7 machine, using the System Properties > Environment Variables tool, I try to add %USERPROFILE%\Bin to the system variable PATH. For some reason, that doesn't work, even though ...
0
votes
0answers
82 views

The Voodoo XP error you cant fix . RDP / MSTSC.exe - cannot find <LANG_NAME>\mstsc.exe.MUI

I keep getting the error cannot file C:\Windows\System32\<LANG_NAME>\mstsc.exe.MUI I do have this path C:\Windows\System32\US_en and this one too C:\Windows\System32\en and I made ...
0
votes
0answers
7 views

Changing Git Location on Mac OS X

I have a version of Git (1.9.3) already installed on my computer at /usr/bin. This version was installed (if I remember correctly) by XCode. I would like to install 2.2.1 (the download version from ...
3
votes
2answers
3k 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 ...
10
votes
2answers
12k views

How to calculate a relative path from two absolute paths in Linux shell?

We have two paths. First one is directory, second either dir or file. /a/b/c and /a/d/e.txt Relative path from first path to second will be: ../../d/e.txt How to calculate that in Linux terminal? ...
1
vote
1answer
108 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
1answer
19 views

Linux C Compiler

I've just tried to install APCUPSD and have run into a missing C compiler error. I then ran yum install compat-gcc-34-g77 which went fine but the error did not go away, I tried which gcc as well ...
0
votes
2answers
7k 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
1answer
20 views

Go to directory of symlink file target

How can I create a command (or alias) to go to the directory which contains the target file of a symlink. For example, if I have a symlink symFile@ -> /Users/zhermes/some/dir/someFile I'd like ...
1
vote
2answers
19 views

why 'export $Path=$Path:dir' won't work?

I am just wondering why do we need to use this command export Path=$Path:dir why does the command not look like export $Path=$Path:dir/dir'
1
vote
1answer
33 views

How to find absolute path of USB drive

I have a computer running Windows 8.1, and I have a USB drive with RocketDock installed. My problem is that sometimes Windows changes my drive letter and all the links on the dock screw up. I ...
1
vote
1answer
29 views

-bash: export: ''not a valid identifier when logging into terminal

Hi Whenever I log into the terminal I get the following error -bash: export: ...
66
votes
14answers
19k 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
0answers
99 views

user path not merged with system path

On my Windows 7 machine, for some reason the user path is not merged with the system path variable when I start a new command prompt. I have seen other related questions answered by a reference to a ...
0
votes
1answer
16 views

Win 7 Explorer qualified path

Does anyone know how to make Win 7 Explorer display the fully qualified path rather than (irrelevant) drive letters as the default? i.e. \servername\sharename\foldername\file.name instead of ...
-1
votes
1answer
49 views

Exclude folders with a path pattern using FIND command on Ubuntu console

PROJECTS |___ SITE1 | |____files (to exclude) | |____img | |____js | |___ SITE2 | |____files (to exclude) | |____img | |____js | |___ ...
0
votes
2answers
59 views

What is the sequence of files bash loads to set PATH variable

I want to understand the way PATH variable is set in Linux/Mac. What all files are loaded and in what sequence to set the PATH variable for BASH.
1
vote
1answer
24 views

Find out the depth of path in PowerShell

For any location gotten by the Get-Location cmdlet, if I have a path like this: C:\Top\Middle\Bottom I would say it's 3 levels deep. If I have: C:\ I would say it's the 0 level. It could be 0 ...
2
votes
1answer
67 views

How to Define Relative Path?

I have heard about relative paths and I think that they are of good use. But, I do not know how how to define a relative path. For instance, I have a Power Point presentation in which I use an audio ...
0
votes
1answer
30 views

Is there any way to have Cygwin tools in PATH without them replacing Windows commands?

I would like to be able to use GDB, GCC and such straight out of a windows command prompt, so I put my Cygwin bin directory in my Windows path. Problem is that Cygwin programs now take priority over ...
0
votes
1answer
46 views

Folder set up in linux for netbeans

Kind of new to linux. Learning PHP, I downloaded NetBeans IDE but having problems getting a new project to show up on left hand side with other projects. It keeps putting them in the source file of ...
1
vote
1answer
59 views

I changed my system path in system variables, how can I bring it back to what it was?

I've been trying to unlock my htc device's bootloader and I couldn't get a fastboot command from the cmd to work. I had tried everything and eventually I found this site which said that I just have to ...
5
votes
3answers
8k views

Getting PATH of running *.exe

I am currently developing a customized CafeSuite system for my Internet Cafe. And I'm using Java and JNI (Java Native Interface) to get through the Windows Registry. But I have this module I can't get ...
6
votes
3answers
7k views

How to set cron PATH globally (i.e. for all users) permanently?

We need to have /usr/local/bin in cron's path for all users. Is there a way to set it system-wide, without needing to edit each individual user's crontab? We've tried adding PATH to /etc/crontab: # ...
1
vote
0answers
99 views

Running Java program from PowerShell starts a 64-bit JVM: From .bat file, starts 32-bit JVM

I am trying to start a Java application from a batch file, with a 2G heap size, like so: java -Xmx2G -XX:MaxPermSize=256M -jar cauldron-1.7.10-1.1236.05.212-server.jar nogui When running this ...
12
votes
2answers
10k views

Avoid unwanted path in Zip file

I'm making a shell script to package some files. I'm zipping a directory like this: zip -r /Users/me/development/something/out.zip /Users/me/development/something/folder/ The problem is that the ...
1
vote
0answers
52 views

iMac mid 2011 with Yosemite [closed]

My screensaver app tries to connect to a folder on my NAS that no longer exists and this causes problems. I tried to give the screen saver another path to a local directory but it does not change and ...
0
votes
1answer
18 views

Mac .bash_profile.save How to make it run by itself / where to actually change paths

trying to change my path for Ruby / SASS. I have always used a file in my home called '.bash_profile.save' In there I have the export paths which work fine but only when I run: source ...
2
votes
1answer
79 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. ...
1
vote
4answers
2k views

Win7: messed up system - set too long path variable

I just messed up my Windows 7 Enterprise 64-bit. I tried to install CMake - and during installation i got an error saying something like it can't set the path variable, because it is too long (I ...
4
votes
3answers
42k 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. ...
56
votes
7answers
125k views

Using cd Command in Windows Command Line, Can't Navigate to D:\

This may be a stupid question, and I think I have looked elsewhere to find the answer... Might be a path issue, but when I open the command line and type from the C:\>: cd D:\ I cannot get to ...
0
votes
1answer
22 views

Vim from terminal can locate package, GVim cannot

So I've been installing Syntastic and JSHint for some Vim JavaScript syntax checking. which jshint returns /home/myUser/local/bin/jshint which vim and which gvim return /usr/bin/vim and ...
1
vote
1answer
38 views

How to change a program path/alias?

I'm not sure how it works on Linux, but you can type in program names such as ls, man, etc., in any directory and the programs are executed. I uninstalled an old version of ImageMagick and built the ...
3
votes
2answers
33 views

Listing content of directory with absolute path is not equal to listing with relative path?

I launched Ubuntu 14.01 instance in AWS by using its API (with Python and Boto). I changed properties of the root device - 30GB instead of the default 8gb and used magnetic disk standard instead of ...
1
vote
1answer
70 views

What does %Path% mean at the end of PATH?

My PATH on Windows looks like this: C:>echo %PATH% C:\WINDOWS\system32;C:\WINDOWS;C:\dwimperl\perl\bin;C:\dwimperl\perl\site\bin;C:\dwimperl\c\bin;%Path% What does %Path% mean at the end of ...
3
votes
2answers
21k views

Where is java jre path specified in Windows 7?

I have java installed including jre 6 and 7 on Windows 7 64-bit. When I type java -version at the command line I get: C:\>java -version java version "1.6.0_22" Java(TM) SE Runtime Environment ...