Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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 ...

1
vote
1answer
9 views

Pkg_config can't find file I have, changing path didn't work

I'm installing a theme on my Ubuntu and when I run: $ sudo ./autogen.sh --prefix=/usr I get the error: No package 'gdk-pixbuf-2.0' found Consider adjusting the PKG_CONFIG_PATH environment variable ...
0
votes
1answer
50 views

Add python 3.7.1 path on windows 7

I want to use python from my cmd/bash, I have copied the path and added it the environment variables but it didn't work, python is working fine from python GUI. I have checked youtube videos there ...
1
vote
0answers
23 views

Environment variables (e.g. %PATH%) expansion rules, etc [closed]

I'm trying to get a handle on how you know if an expandable string will be properly expanded in a user's Path environment variable. As there appears to be a lack of proper documentation on the MS ...
0
votes
2answers
54 views

Why is . in the path by default?

Many says for security reasons the current directory is not in the $PATH variable and Linux does not look in the current directory to see whether a specific command is available from that directory. ...
1
vote
1answer
270 views

Access newly-updated path from Powershell script

I'm writing a Powershell script to configure a build environment and then carry out the build. This entails setting the system path so that it includes the compiler and build system (in this case, ...
3
votes
1answer
30 views

Why is path with more root slashes valid?

In linux system, if you change directory into '//' you can browse the file system, while your root will be '//'. This does not happen with more slashes, more slashes produce original '/'. Possible ...
0
votes
2answers
29 views

I want to add my java path but i don't understand , among all of these path, in which i should add my java path?

I want to add my java path but i don't understand , among all of these path, I which should add my java path?
0
votes
1answer
58 views

How to add variable to PATH system variable? [duplicate]

I am trying to add to my Windows 10 a new folder to my existing PATH system variable. But I'd like to add it as a nested variable. So what I did was: Create a variable for my folder as a system ...
0
votes
1answer
42 views

AutoHotKey script replace backslashes with forward slashes

I run a Linux emulator (or subsystem) under Windows 10, and sometimes I need to past Windows paths in the Linux console. Windows paths use backslashes \ to separate directories whereas Linux paths use ...
0
votes
0answers
30 views

Add “Add to Path” to context menu

I tried to use this solution but it is outdated seeing as I use Windows 10 but I was wondering if there is anyway to add a option in the context menu to add a folder to the PATH because it is very ...
0
votes
1answer
36 views

Win10 python called from 'cmd' different than 'run' (2 versions installed)

I installed python 2.7 then needed to switch to python 3.5. I changed all my environment variables (system & user) to remove 2.7 from PATH (I don't want to remove python 2.7, just keep it in ...
0
votes
2answers
93 views

Windows: Where is executable file of app that installed from Store

I installed an app from Windows Store. Now I want to pass its path (location) to another app (like Run window) to run it in response to an event: But it doesn't exist in Program Files or Program ...
1
vote
0answers
55 views

Msgbox VBA on closed workbook

I have 2 different workbooks: workbook-1 workbook-2 I want msgbox in workbook-1 referring to values in workbook-2. For example: In workbook-1: | A | | B | | C | In workbook-2: | A | 10 | 5 | 6 ...
0
votes
2answers
93 views

Loop through directories in a given path until an existing directory is reached

I have an unknown path given by the user where I would create a file. Since I don't have write permissions I need to find the first existing dir in the path going from inside to outside and check for ...
1
vote
1answer
50 views

How to fail if a certain program is run?

I am using cmake-conan to call conan during my build (on Ubuntu 16.04). However now I want to test that certain builds do NOT call conan. cmake-conan calls conan in this fashion: execute_process(...
1
vote
1answer
53 views

Get path of a file without it's name

The file song.mp3 is located in C:\x-folders\y-folder\z-folder\song.mp3 How can I store this path in a variable? C:\x-folders\y-folder\z-folder\ Thank you
-1
votes
1answer
36 views

User Path - relative paths on work computer vs on home computer

I work on two PC's one at home and one at work. The user name for my home pc is Mike. for work it is mmcloughlin. I have a text file that is located at C:\Users\Mike\Dropbox on my home computer. On ...
0
votes
0answers
32 views

How to write bash script that handles 3 different set of “inputs”

I'm trying to make my .sh file, able to accept 3 different ways of obtaining a path to a file plotted by the user. If no filepath / env-variable (how do I set this up properly?) is given as arg in ...
0
votes
0answers
200 views

Windows 10 OpenSSH Client not found in non-admin console

I'm having trouble using the built-in OpenSSH client from a regular command prompt. The client got automatically installed as part of Windows 10 Update 1803. When I try to execute it from a regular ...
1
vote
2answers
89 views

In Cygwin, why does echo $PATH work, but $PATH fail?

As seen here, doing echo $PATH gives me my full PATH, but doing simply $PATH gives an incomplete version that looks like it hasn't been escaped properly somewhere: Yet when I look into my ...
0
votes
0answers
65 views

%JAVA_HOME%\bin in windows path is not working

I have Java (JDK10) installed. A system variable JAVA_HOME is set to C:\Program Files\Java\jdk-10.0.2 The path system variable includes the value %JAVA_HOME%\bin I was able to run javac yesterday ...
0
votes
0answers
84 views

Removing directories from PATH

I am trying to run rkhunter, but it is giving me this output: stack/security/rkhunter-1.4.6 ➜ sudo rkhunter --check Password: Invalid BINDIR configuration option: Invalid directory found: ~/.dotnet/...
1
vote
0answers
20 views

What are these '3cxx' man pages, and how can I remove/exclude them from man invocations?

This all started because I wanted man pages on C++ types/functions. I found a repository called Cppman that was designed to scrape these pages from either cplusplus or cppreference. At this point man ...
1
vote
0answers
64 views

Copy files and folders with full path in linux bash

I was traying to make a simple script that takes a file or folder path and copies it, preserving the full path, in a folder called system next to the script. Exaple: Imagine I just have this folders ...
33
votes
5answers
3k views

Does the Windows Command Prompt search somewhere other than those locations specified by the PATH variable when launching application programs?

I tried the following experiment. Before I start, I checked the PATH variable from cmd, which has the following value: Path=C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS ...
0
votes
1answer
17 views

Is “physical path” physical?

In Windows OS, the term "physical path" appeared here and there. Is "physical path" physical at all? Is it related to the hard disk physical structure?
0
votes
0answers
7 views

Copy libraries to new location

My company uses LMod to allow multiple users to all have different versions of various everything all on the same machine. This basically involves compiling everything that you need from source into ...
0
votes
0answers
27 views

How to run default version of start command?

I have installed Git and it provided different version of start command >where start D:\Apps\Git-2.10.2\usr\bin\start which does something different than default one. Is it possible to force ...
0
votes
0answers
13 views

Using aria2 instead of curl breaks text substitution

I am trying to mirror a site to archive.org but using curl is very slow so I wanted to try aria2 instead. I first make a link map of the site using this command wget -c -m --restrict-file-names=...
0
votes
1answer
133 views

Install `orca` on Windows

I'm trying to install orca on Windows using these instructions. I'm not sure I understand point 4: In the command prompt, run PATH %PATH%;<paste the "Starts in" field here> In the prompt, I ...
0
votes
1answer
52 views

Create Percentage Sign Variable to use in Environment Variables

In Windows 10, some environment variables actually use percentage signs to refer to paths. For example, the PSModulePath environment variable looks like this (ignore the additional one I marked out): ...
0
votes
0answers
70 views

Avoid adding unnecessay Windows %PATH% to Git Bash

Unlike Windows & Git Bash: Bash PATH to read Windows %PATH% system variable, I am trying to avoid Git Bash from adding many entries from windows %PATH%. The reason is my Windows %PATH% has many ...
2
votes
2answers
648 views

Set PSModulePath Environment Variable with PowerShell in Windows 10

I don't understand this. So currently my system environment variable named "PSModulePath" looks like this: %ProgramFiles%\WindowsPowerShell\Modules;%SystemRoot%\system32\WindowsPowerShell\v1.0\...
1
vote
2answers
43 views

How to specify executable python path?

My PATH variable looks like this: /home/elgin/anaconda3/bin:…:/usr/bin:… As you see above anaconda3 precedes /usr/bin. So when I type python in terminal, it gets python in the first anaconda3 path. ...
0
votes
2answers
1k views

Adding python to windows path not working

After following the instructions on the answer to this quetion, my computer still doesn't recognize python as an internal or external command, operable program or batch file. I've uploaded a picture ...
0
votes
0answers
19 views

Need to Generate Path List of Remote Shares on a Server [duplicate]

THIS QUESTION HAS NOT BEEN ANSWERED. The referenced answer does not offer an applicable solution as all results produce unneeded, unwanted information. I am looking for something that lists PATH NAME ...
0
votes
0answers
958 views

Windows 10 environment variable PATH not getting updated

Inspired by the following video link : https://www.youtube.com/watch?v=JQ58d3BEV_8 I tried to change the PATH variable of my system and add the path that has been mentioned there . Ii have a ...
2
votes
2answers
237 views

How to remove duplicate dirs from $PATH?

In some of my terminal windows I have duplicate entries in the PATH variable; something like this: PATH=/a/b:/c/d:/a/b:/c/d:/e/f:/a/b I guess the culprits are lines like this one in some of my ...
0
votes
0answers
24 views

How to remove length restriction of system path in user command prompt?

I must have misunderstood, but I thought that as long as I don't have user's PATH, content of PATH should be same between user command prompt and admin command prompt. But I turned out to be wrong. ...
1
vote
1answer
225 views

How do I replace PATH Environment variable items to double quote those which have spaces?

I am looking for a short command which I can execute in the Windows 10 command shell (cmd) or in powershell or in git-bash for Windows, which would replace PATH Environment variable items to double ...
1
vote
1answer
33 views

Add ~/projects/*/bin directory in environment PATH (Ubuntu 16.04)

Everything is in the title. I know how to add new path in the environment PATH variable but I would like to make it recursive by automatically adding /bin folders of all my future projects. Something ...
1
vote
1answer
60 views

How can I get any programs to only/always interact with D: instead instead of C:? [duplicate]

I've built a rig with a small SSD for C: which I want to be pretty much only for the OS, and a HDD D: drive. Problem is, even when I tell them to install and run from D: a lot of programs keep sending ...
0
votes
1answer
45 views

how to set environment variables CAIROMM_CFLAGS and CAIROMM_LIBS

While I remain ignorant how precisely Mac OS suddenly figured to find the dependencies (that was brew-installed) required to install graph-tool using conda install command... I further remain ...
1
vote
0answers
22 views

restore system path after installing ctex and get the path by echo %PATH% [closed]

The instillation of a software lose my path. Form Deleted Path environment variable, how to restore? I use the command window and do: echo %PATH% What should I do next? how to put the return ...
0
votes
0answers
64 views

Does squid support variables (or similar) to indicate external acl path?

Does squid.conf support variables to indicate external acl path? Problem: I need to replace the path to my lists (which are many) by a variable or something similar, for when I want to change the ...
1
vote
1answer
26 views

Start>Run doesn't launch desired exe despite PATH

On Windows 10 I use the old (WinXP) pbrush.exe instead of the new "ribbon UI" version (never mind why; that is not the question). I had to obtain the old exe from an XP image and keep it in a separate ...
0
votes
1answer
130 views

thunderbird configuration file path or location

Not having Windows, where precisely are the configuration files for a specific server located? https://developer.mozilla.org/en-US/docs/Mozilla/Thunderbird/Thunderbird_Configuration_Files isn't ...
0
votes
0answers
63 views

How does Windows know where to find Outlook

I have Outlook installed on my machine. It is installed in C:\Program Files (x86)\Microsoft Office\root\Office16 C:\Program Files (x86)\Microsoft Office\root\Office16 is however not in my system ...
0
votes
0answers
260 views

Windows 10 Explorer: How to show full path in titlebar, but only currently opened folder in taskbar?

Please read my question in full. In the file explorer in Windows 10, I know you can set the text displayed in its titlebar to either the current folder or the full path. This setting applies also to ...
1
vote
1answer
95 views

Couldn't find pygtk because of PATH order? Where is default PATH defined?

I installed a program that imported pygtk. It worked fine in my environment, but a "blank" environment (e.g. a new user) wouldn't work. I determined it was due to PATH. The resolution was baffling ...