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

0
votes
1answer
12 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
26 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
0answers
23 views

Converting a text cell into a file path link in Excel

I am trying to create an active file path link. It would be consistent of text(in cell E1) + number(in cell D1) + text(in cell G1). I would need this so that the cell value based on the date(D1) ...
0
votes
1answer
34 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
61 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
38 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
69 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
43 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
50 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
32 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
31 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
61 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
77 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
62 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
78 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
19 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
63 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
16 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
10 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
112 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
34 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
48 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
379 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
36 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
0answers
51 views

Referencing Java library in a VBS script

I have a VBS script as follows: Set Shell = CreateObject("WScript.Shell") Shell.CurrentDirectory = "C:\Users\danhicks\Bin" Shell.Run """C:\Program Files (x86)\Java\jre1.8.0_161\bin\java.exe"" ...
0
votes
2answers
691 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
18 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
762 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
159 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
20 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. ...
0
votes
0answers
122 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
29 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
40 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
21 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
52 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
25 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
85 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
240 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
66 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 ...
0
votes
0answers
43 views

Using %ksappend from main kickstart file from usb device, what is the correct path?

I'm using kickstart for the installation of a Fedora system. I separated some steps of the installation in some kickstart files, so they can be easily reused. For example, the section about ...
0
votes
1answer
264 views

Wrong Python version returned, with correct $PATH set in ZSH

something very wrong is happening with my environment set up. As I am trying to learn, I decided to reinstall Mac OSX El Capitan on my Macbook Pro and start installing and configuring stuff from ...
0
votes
1answer
158 views

Debian 9: bash: ls, cat, command not found after incorrectly modifying PATH

Most of the commands are no longer working after modifying PATH. Instead of PATH=$PATH:/home/z***d/Programs/anki-2.0.50 it ended this way export PATH=PATH:/home/z***d/Programs/anki-2.0.50 wasn't ...
0
votes
0answers
109 views

how to deal with both version of python in path variable?

I was trying to run the protoc command. C:\Users\Ted\Anaconda3\envs\py2018\Lib\site-packages\tensorflow\models\research\object_detection\protos>protoc anchor_generator.proto --python_out=. But I ...
0
votes
2answers
104 views

How can two programs have the same path?

I don't know if this is the appropriate section for asking such a question. It's about a music program I downloaded from the official website without any "extra". I've been very careful. Well, ...
0
votes
1answer
66 views

Why can Windows Run window run commands not in PATH? [duplicate]

In a cmd window, if I type chrome, I get the below message because chrome is not in my PATH. 'chrome' is not recognized as an internal or external command, operable program or batch file. But if in ...