Questions tagged [path]
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 environment variable specifying a list of directories where executable programs are located.
1,245
questions
4
votes
2
answers
20k
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
3
answers
877
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 ...
16
votes
1
answer
6k
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
0
answers
41
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
PATH=.....
2
votes
1
answer
698
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 ...
4
votes
1
answer
239
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 navigate "...
2
votes
0
answers
28
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
1
answer
89
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 C:\programming\python\WinPython-32bit-2.7.9.3\...
0
votes
2
answers
1k
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
1
answer
56
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 ...
1
vote
1
answer
304
views
Unknown path in my environment variables
I have a path in my Windows 8 Environment variables .bin;does this make any sense? Is it most likely a typo or typeover?
I was having some issues with Chocolatey working in my Console2 and when I ...
0
votes
1
answer
2k
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
...
1
vote
1
answer
199
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 ...
18
votes
5
answers
46k
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 right, ...
1
vote
1
answer
368
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
1
answer
83
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 ...
1
vote
1
answer
50
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 ...
1
vote
4
answers
3k
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:
...
0
votes
0
answers
5k
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
0
answers
844
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 ...
0
votes
1
answer
3k
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 ...
2
votes
1
answer
1k
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
2
answers
167
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'
2
votes
1
answer
7k
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 ...
2
votes
1
answer
5k
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: `/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/...
0
votes
1
answer
82
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 I:\...
0
votes
1
answer
998
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
|
|___ ...
2
votes
2
answers
4k
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 or ...
0
votes
1
answer
271
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
1
answer
68
views
Organizing documents in a big hierarchy
I'm on a task of organizing documents ( like images, .docs, etc ) of all kinds of knowledge in life in such a way that i can later quickly access each category of knowledge and its documents.
I ...
2
votes
0
answers
3k
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 ...
0
votes
1
answer
784
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 ~/....
3
votes
2
answers
8k
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.
/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/...
2
votes
4
answers
17k
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
1
answer
102
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 /usr/bin/...
4
votes
2
answers
502
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 ...
3
votes
1
answer
2k
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 ...
-1
votes
1
answer
4k
views
Java runtime environment path issues
I've had a problem with my Java installations for quite some time and I've never had time to sit and try to fix this problem.
So I went ahead and uninstalled all the various versions of Java I'd ...
0
votes
2
answers
2k
views
In GIMP 2.8 how in the world to you edit a path?
As a very experienced Coreldraw user, in Corel there is something called a Pick Tool that let's you activate an object, like making a path you've previously created active so you can edit it.
There ...
0
votes
1
answer
402
views
I've placed a binary in my $PATH, but when I run it from powershell it gets its own directory instead of the current directory
I’ve installed Hugo (a static website generator) on my Windows 7 system by placing it in a directory in my $PATH. When I try to run it, regardless of the directory I’m in, it's run in its own ...
1
vote
1
answer
4k
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 ...
0
votes
2
answers
493
views
Accidentally deleted PATH in Windows 8 [duplicate]
So last week I was trying to install Ant, and accidentally deleted my environmental variable Path. I dont really know what I am doing. What effect will this have/what can I do to fix it?
1
vote
0
answers
163
views
Strange paths in Task Manager: "\??\C:\Windows\etc.."
When looking a the list of processes for a different reason, I noticed something odd:
There's four instances of conhost, but I haven't seen paths like those before.. Can anyone tell me what the ...
0
votes
0
answers
1k
views
When are quotes added to a file or folder path when dragged into a cli?
Like a CLI noob does, I often change directories by using the dragging the target folder into a command prompt to get its path.
What's annoying, however, is that the path isn't wrapped in quotes, ...
2
votes
1
answer
695
views
Dynamic variable substitution in PATH
I want to run different versions of Java on the same machine (Linux Mint 17) with default to Java 7. So I put this into /etc/environment:
JAVA_HOME="/tools/java/java7"
JAVA7_HOME="/tools/java/java7"
...
0
votes
1
answer
159
views
VIM substitute environment path to get include path
I want to build an include path from a environment variable on vim. I want to keep only the instances which ends as /share/bin on this variable, and change them to include. I want to do this on .vimrc,...
0
votes
1
answer
2k
views
Windows export PATH configuration
I have many variables in the PATH and I want to export and reuse them.
Is that possible? (something like a .reg file)
2
votes
0
answers
431
views
How do I set the PATH variable for a service that's running as a non-login user?
I'm running a GitLab server on a Linux machine using Nginx as a Webserver.
Several processes (started either manually as root with /etc/init.d/foo start or automatically as sub-processes) run as ...
0
votes
0
answers
3k
views
Windows path and semicolon
In Windows 8.1 I have an environment variable LATEX equal to
C:\Program Files\MiKTeX 2.9\miktex\bin\x64
and the path variable set to
%JAVA_HOME%\bin;%ANT_HOME%\bin;%LATEX%
The problem is ...
0
votes
0
answers
55
views
Why does system PATH seem to be cleared?
I have this strange situation at work where me and some other guys regularly have problems with our system PATH environment variable. Whenever that happens, we have problems like shortcuts that stop ...