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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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
0answers
9 views

vba Relative Path from MS Access to Excel

Here, I read a piece of code written by Dave on September 12, 2016. I have this line of code that works well: sExcelWB = "D:\testing\" & "qry_task.xls" I have been trying the Relative Path codes ...
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
26 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
8 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
94 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
22 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
38 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
128 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
29 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
38 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
136 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
208 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
118 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
18 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
59 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
27 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
58 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
28 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
17 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
45 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
47 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
142 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
36 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
39 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
164 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
122 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
94 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
103 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
64 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 ...
0
votes
1answer
389 views

Trying to install Cisco Jabber: “Error 1320. The specified path is too long”

I am trying to install Cisco Jabber 11.8.4 Build 52954 on Windows 7 SP1 x64 Ultimate. During the installation, I get the error message: Error 1320. The specified path is too long C:\ProgramData\...
0
votes
0answers
186 views

How to get a running Jar's file path?

When I run some jar file, the process created is an instance of the JVM, which executes the jar. How can I know what jar file a JVM process is running? I would like to use this information to retrieve ...
0
votes
1answer
81 views

How does Windows treat these paths and how to emulate?

Within Windows Explorer folder/libraries for folder such as Desktop, Downloads, Documents, Images, 3D Objects, Music and Videos, etc. one can simply type these names and press Enter and easily get ...
3
votes
2answers
182 views

Windows file found by cmd.exe but not PowerShell

On the same system, cmd.exe and powershell.exe yield different results for listing a file both through its absolute path and relative to $PWD: CMD sees it, PowerShell doesn’t. The binary doesn’t seem ...
0
votes
0answers
43 views

unable to use UNC path of windows servers from client machines

When I'm trying to access our server through this method I'm getting another message but still take remote of the server we've verified all the related ports and found that all the ports are in open ...
2
votes
1answer
129 views

Registry > App Paths: Modify a string so that app could open a particular file?

Is it possible to modify a string in Registry > App Paths in such a way that it will not only open an application but also a particular file in it? Similar to the target box in shortcuts (windows ....
0
votes
1answer
384 views

Using Anaconda python as default python - csh shell

Newly assigned server uses csh shell, I have never used csh before. I tried to path to anaconda/bin in the .cshrc but if I query which python it still returns usr/bin/python It does not even work ...
0
votes
0answers
438 views

Vagrant ruby path issues with cmder

I recently installed cmder, a terminal that is more customizable / visually easier than windows command prompt. When I run a command like vagrant ssh in cmder, I get this error: Exec error: exec: "...
1
vote
3answers
90 views

How to invoke a script using a relative path with it's parent dir mapped into PATH?

I have a folder /usr/bin/vendor/ which is added to PATH by convention and contains e.g. the shell script do_something.sh. Now I would like to add a subfolder /usr/bin/vendor/some_tool/ to additionally ...
0
votes
0answers
18 views

Transfer shortcuts to new computer

I was wondering if there is any way to transfer a shortcut to an application from one computer to another (by usb) while keeping the path intact. This is assuming the path does not change: (c:\user\...
2
votes
1answer
363 views

Not able to access path of mobile phone in cmd

I'm kind of new at CMD so please go easy on me. I am trying to copy files from my mobile phone via robocopy in CMD as the regular copy/paste doesn't support some of the features of robocopy I'd like ...
0
votes
1answer
29 views

Using junctions in PATH

I've noticed a couple of times that it looks like I can't use NTFS junctions under %SystemRoot%, put the ensuing file path in my PATH, and get it to work for DLL lookup. For example, if I put a ...
0
votes
1answer
47 views

Block su without the '-'

I want to block everyone running su without the login option. They can run su - <user>, su -l <user>, su --login <user>. But su <user> will be blocked. How to achieve this?
0
votes
0answers
80 views

executable program is not recognized by cmder even though I have added its directory to system PATH

Recently I installed Pandoc and added its install directory to my system PATH. But I found that I can execute the program only in the system cmd, not in cmder. I reinstalled the cmder program and ...
0
votes
0answers
228 views

Adding to PATH system variable using a bat file

I want to run a .bat file once and add multiple values to my path environment variable. I'm having all sorts of problems with it. Well, first, I want this file to check if any entries are already on ...
0
votes
0answers
117 views

Change environment variable path & append to start

I need to deploy an updated version of the Java Runtime Environment to several computers (which I can do) but following this I also need to amend the PATH environment variable to contain the updated ...
0
votes
0answers
22 views

How to specify this command“ --enable-javascript --with-v8-path=/path/to/v8 ”

I did this commands to install depot_tools: cd /home/m/ ` git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git export PATH="$PATH:/home/m/depot_tools" Then I ...
0
votes
1answer
536 views

How to change icon path dynamically on folders in Windows 10?

I want to keep my icons structure when I move my system, when I click on browse it gives me a really long path. When I change systems or reformat, I need to do this all over again... Some scripts I'...