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
1answer
7 views

Replacing part of a path name with search variable?

I'm not sure if I have used the right expression in the question, but the context totally slips my mind. I am trying to write a script to go to a student folder, depending on who is logged in, but I ...
0
votes
0answers
23 views

Does Apache Alias supports relative paths?

I'm trying to alias a file with relative path from the document root, like this: Alias /js/jquery-1.9.1.min.js lib/jquery-1.9.1/jquery-1.9.1.min.js It does not work, but I can't find anything in ...
1
vote
1answer
33 views

Why the blackslash dot (\.) in the prefix of the path?

I was running the find command looking for some config files and this is exactly what it outputted: ./log4j.xml ./log4j2-test.xml ./proxyserver/src/main/resources/log4j.xml ...
10
votes
1answer
243 views

What does “C:2\” in a windows path string mean?

I got this pop-up from the Windows firewall. What is "C:2\" in the path? The real path is D:\Steam\SteamApps\common\... I tried cd /d C:2\ in cmd and got "The system cannot find the path ...
0
votes
0answers
16 views

path setting appears twice in env output

After an OS version upgrade I have the following strange problem: % port MacPorts 2.3.1 ... % sudo -i # port MacPorts 2.3.1 % sudo port sudo: port: command not found Furthermore, if I do it all ...
1
vote
1answer
31 views

PATH preference in bashrc

I was wondering what happens in the following situation. Suppose I have an executable file in a directory that is in PATH in .bashrc. If I copy the file into another directory that is set in PATH ...
0
votes
1answer
57 views

How do I start cmd.exe from a UNC path (to map a network drive)?

While cmd.exe can work with UNC paths by using PUSHD \\UNC\Path, I'm attempting to start cmd or a similar command FROM a UNC path. Here's why: I'm adding a "Map Network Drive Here" to my suite of ...
5
votes
1answer
45 views

How to determine whether a folder in %PATH% is required in Windows 7

How can I determine whether a particular folder in the PATH environment variable is used by the system? Recently, some software that relied on the system PATH stopped working b/c another package ...
19
votes
5answers
3k views

What is the technical term for current (.) and parent (..) directory?

I got a function that checks whether the passed in file name is . or ... But I don't know how to name it properly. Something like IsCurrentOrParentDirectory() is ambiguous, since the function takes a ...
2
votes
0answers
44 views

Is there a way to automatically display the file path on every print whether its Word, Excel, PDF

I am working with one of our help desk tickets and I personally don't think it's possible unless you go through some crazy scripting... The help desk ticket client was asking if is there a way to ...
0
votes
1answer
25 views

Should windows path be in all caps or normal case?

Folks, I've been having problems with installing updates to visual studio on windows 7 and traced it to the fact that my %PATH% environment variable is too long. So I checked what was on the path and ...
1
vote
1answer
43 views

Modifying the System Path variable from cmd

I am trying to modify my system Path value. I need this as I am doing an upgrade of the S/W and the users need to have access to the old and new system. I provide them with a toggle button which will ...
0
votes
1answer
140 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
1answer
68 views

Command Line: Browse to a network path that has spaces and a single quote

I am trying to browse to a network path in dos that has both spaces and a single quote. When I do: net use "\\server\path's name\folder\" I get an error message that error 53 has occurred. Any ...
0
votes
1answer
30 views

Win7 loses PATH from user profile

Recently, a very weird thing started to happen that has not happened before: Suddenly, from out of nothing Windows 7 & "forgets" the part from PATH from the user profile. As can be seen on the ...
1
vote
1answer
28 views

realpath (GNU coreutils 8.22) does resolve “.” symlink regardless of “-s”

I'm trying to use realpath in a script which has to ensure that it is located under a certain (possibly symlinked) path. Also the script has to be runnable from any location, so it cannot presume that ...
0
votes
1answer
18 views

Is there an easy way to manage packages/dependencies on windows 7?

I'm not even sure if the title is what I'm asking for... Basically, I'm sick of having multiple copies of various exe's on my system, like ffmpeg, mplayer, exiftool, etc. I was wondering if there's a ...
0
votes
1answer
39 views

Python path is not recognized after adding a new variable under environment variables, picture provided

'python' is not recognized as an internal or external command, operable program or batch file. My Python folder is directly in C:\python34..... Please look at the picture.... ...
2
votes
2answers
48 views

PATH set before /etc/zshenv

I am trying to find which file adds /opt/texbin folder to my PATH variable on Ubuntu. It is not present in my /etc/environment file. sudo grep -lr texbin . 2>/dev/null outputs nothing in the /etc ...
1
vote
0answers
54 views

Is it possible to set my PATH variable in a desktop entry?

I've created a bin directory in $HOME with shell scripts that are each set up to load a Firefox profile; this way I can use a simple command like e.g. facebook to open a Firefox profile reserved for ...
0
votes
1answer
38 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.
0
votes
1answer
16 views

how to add mysql to path global variables [duplicate]

I have recently installed MySQL and am trying to access it through my command prompt by simply typing in MySQL. I believe I need to add it to my PATH globals. How can I do this?
1
vote
0answers
39 views

How is it possible for file paths exceeding 256 characters to be created? [duplicate]

How is it possible for file paths exceeding 256 characters to be created in the first place if 256 characters is the maximum length Windows can recognize? We are running SBS 2003 and I am currently ...
0
votes
1answer
39 views

Path variable seem to be ignored

Don't know why but some paths listed in the path variable seem to be ignored. For instance, processing, that when is executed from the right folder it runs without problem, but it is ignored whenever ...
1
vote
1answer
108 views

Environment variables and commands lost after Windows 8.1 upgrade

No sooner did I upgrade to windows 8.1 from windows 8, I found that I was unable to run commands from commandline like python, pip, cat,ls etc which are installed in the system when windows 8 existed. ...
0
votes
1answer
21 views

Adding App to Path on Mac OS X

I'm in the process of migrating from Windows to Mac OS X. Right now, I'm trying to use this plugin in an application. The plugin states: Make sure you can find Magick++-config in your PATH. My ...
1
vote
0answers
32 views

Mac OSX crashed and now global PATH settings seem to be incorrect

I had to hard power off my mac when it froze on the login screen after a sleep resume. After the reset it seems like any application that uses the system environment PATH to launch other processes ...
1
vote
1answer
15 views

env command shows 3 times same path

When i run env it shows 3 times /usr/bin under PATH . Same for every path under PATH title. For example - my scala bin directory shows 3 times . However, in my .bash_profile, it is written just one ...
0
votes
1answer
478 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
81 views

Batch script Issue passing path as paramter with spaces [duplicate]

go.bat @echo off set url=D:\Download\Path with space inside echo "%url%" pause output: C:\Users\Admin\Desktop>go "D:\Download\Path with space inside" Premere un tasto per continuare . . . ...
0
votes
0answers
16 views

Java with multiple versions on Windows [duplicate]

I have both Java 6 & 7 installed on my machine. My Windows' PATH variable has Java 6 JRE's location added to it. But when I open Command Prompt or Windows PowerShell and type java -version it ...
2
votes
1answer
39 views

How to hide a program from linux's tab-completion

I have an account on a shared machine, and cannot access /usr/bin, where there are many programs which I never use. I'd like tabbing to ignore many of these programs, for example I'd like ...
1
vote
1answer
36 views

Is it an actual threat to system if “desktop” is added to path

What kind of threat does adding the desktop path to system path variable present? Is there some well known exploit that really opens my system up if I do this? The thing is that Desktop is my ...
1
vote
0answers
52 views

Would a longer PATH environment variable slow down a system?

In Windows 7, will a long system PATH environment variable slow down the system in any noticeable/tangible way? My system PATH variable is 45-entries deep. I have an i7 930 @ 4.2GHz, but out of ...
0
votes
0answers
36 views

Windows compact /s /u command runs forever on deep directories greater than MAX_PATH

I ran the command compact /U /S /I /Q > status.txt on a large deep directory and after it ran for over 24 hours I decided to investigate whether it was hanging. It turned out that meanwhile the ...
2
votes
1answer
41 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
1answer
220 views

aireplay-ng command not found

I just downloaded and installed Kali Linux on my MacBook Pro (dual boot) to mess around with penetration testing - I have experience with aircrack-ng, but it was a while ago (and I was at least ...
0
votes
0answers
14 views

Path management for multiple toolchains?

So the story is probably one that more skilled developers than I run into: Ug...Windows development. Multiple development tool chains (MinGW, VC2010, VC2008). PATH can't get too big. Annoying. DLL ...
-1
votes
2answers
178 views

Why folder or file name in Windows cannot end with space? [closed]

I learned something new today. When I tried create new folder "folder " (no quotes) in Visual Studio I got error: Directory names cannot contain any of the following characters: : * ? | " ...
0
votes
0answers
30 views

Why does SVN 1.7 show on my mac (Mavericks)

I have installed SVN 1.8 on my mac (Mavericks) in /usr/local but when I do svn --version it still shows 1.7, I have added "export PATH=/usr/local:/usr/bin:$PATH" to "~/.bash_profile" and also loaded ...
1
vote
2answers
45 views

where to put binaries so they are always in path and can be found easily

I am making quite some binaries, scripts etc that I want to install easily (using my own rpms). Since I want them accessible for everyone, my intuition would be to put them in /usr/bin; no need to ...
0
votes
1answer
43 views

Java command only working in command line not in sh files

I have recently attempted to install java on ubuntu server 12.04 LTS. I wgetted the tar.gz file and extracted it to /opt/java and then added /opt/java/bin to the path variable. This all works ...
1
vote
1answer
64 views

How to convert absolute paths to relative paths in .ini file?

Adviant | Deluxe | 32bit ----------------------- Forms How to set up the relative path for Deluxe and Forms? Below is the .ini file. ...
0
votes
1answer
39 views

Does the order of the directories listed in the Windows PATH variable affect system performance in any meaningful way?

I've noticed that when programs add their directory to the PATH environmental variable, most append it to the end but a few add it at the beginning, before the windows directory. So it made me wonder, ...
0
votes
1answer
91 views

SQLPLUS 32-bit Linux Pathing Issue

I am running linux 32 bit and installed Oracle 11g in it. I am trying to start sqlplus from command line but get the command not found error. I checked the environment variables and have ...
0
votes
1answer
1k views

$PATH - No such file or directory MAC OSX - Terminal

A million different version of this have been asked already, but I'm still lost, sorry. Here is some of what I'm getting back... In a terminal: $PATH -bash: ...
0
votes
1answer
23 views

How does start find applications that are not in %PATH%?

Firefox is not in my %PATH%, so c:\> where firefox tells me, that firefox isn't found, nor does c:\> firefox start the browswer. However, if I type c:\>start firefox Windows (or ...
0
votes
0answers
37 views

Vagrantfile - is rvm in ~/.rvm/scripts/rvm or ~/.rvm/bin/rvm?

I'm still learning my way around some of the more hidden files in terminal and I was trying to setup a Vagrant box with rails via shell script provisioning, with some help from these links: ...
2
votes
3answers
559 views

How to delete a file from the file system in Linux when I don't have permission?

I re-installed ns2, but didn't delete a file from the filesystem with path: /usr/bin/ns So when I type on my terminal: which ns I get: /usr/bin/ns Instead of the path I have set which is: ...
2
votes
1answer
510 views

Replacing cmd.exe with an another console tool [duplicate]

I like to use Console2 instead of the default command line for Windows. Out of habbit i'm still writing "cmd" into Total Commander's command line sometimes to open a DOS console into the current ...