All Questions
Tagged with command-line path
179
questions
0
votes
2
answers
67
views
Windows "winget" says that a program is installed but it is not anywhere on the installation drive
I had downloaded and installed clink manually. It did not show up anywhere on the path. So then I used the package installer: it says that it is already installed:
C:\Users\sboesch>winget install ...
-2
votes
2
answers
93
views
How to run an .exe file in command line without adding PATH variable in Windows? [closed]
I've recently downloaded ffmpeg and I need to run it through command line. I'm not able to do that because I don't have admin rights. How do I work around that?
0
votes
0
answers
47
views
Windows cmd won't recognize changed PATH
Few days ago I installed Tesseract OCR by installing Capture2Text via Chocolatey. This proved not to work, and instead of uninstalling Capture2Text I went ahead and deleted the Capture2Text folder ...
0
votes
2
answers
284
views
using bash to process a text file that consists of path names
I need some help with bash processing of a text file. In my effort to clean up decades worth of windows use I have written a simple command to find all the instances of a specific file - specifically ...
2
votes
1
answer
234
views
How Are My Python Installations' Command Names Determined, and Can I Change Them?
I recently installed 3 versions of Python on my Windows 10 machine: Python 3.8, Python 3.10, and Python 3.11.
I have
added all of them to Path
. I have successfully run Python3.8 by typing in python ...
0
votes
0
answers
102
views
Batch script error image upload
Wrote a batch script file that uploads an image to smugmug using the smugcli cmd tool in Python. Now I'm getting an error creating an album. I think it has something to do with the special character ...
0
votes
0
answers
488
views
I get "The code execution cannot proceed because avdevice-59.dll was not found." error when I run ffmpeg on my cmd
I'm trying to add FFmpeg to PATH. I have downloaded the windows executable ffmpeg files from the official website.
I have followed this article
to install ffmpeg into my computer and add to path. I ...
2
votes
1
answer
5k
views
Trying to open a OneDrive directory file path using a batch file
I am attempting to open a OneDrive file path whose location is synced locally to my computer using a batch file, but after several trial and errors, I'm not able to determine what I'm doing wrong. So ...
3
votes
2
answers
2k
views
What is the path to the `dir` program on Windows from `cmd.exe`?
This question is interesting because normally I would use where.exe on Windows to find the path to a program on my path. However, where has an option dir, /r to recursively search a path. I don't know ...
3
votes
1
answer
9k
views
Setting user PATH environment variable on Windows 10 has no effect
I have a bizarre problem with setting my user PATH variable. C:\Program Files\ghcup\bin is the path to my executable that I want to add to my user PATH.
I have tried setx /M path "%PATH%;C:\...
2
votes
1
answer
266
views
Create Windows directory on PATH filled with pointers to executables?
I'd like to create a personal bin directory on my Windows installation for storing pointers to command-line utilities that I use frequently, like /usr/local/bin is for on Linux. I'd like this folder ...
0
votes
1
answer
426
views
I am unable to start webstorm from the fedora command line, after following the instructions on the website
On start up, the JetBrains Toolbox opens up fine
The 'Generate shell scripts' is active and the shell scripts location is as JetBrains instructions states ('/usr/local/bin') and the Shell script name ...
0
votes
1
answer
511
views
How to set PATH for notepad++ in Cgywin64 on Windows 10?
Closed. This question is off-topic. It is not currently accepting answers.
This is not about an official Ubuntu flavor. Questions about other Linux distributions can be asked on Unix & Linux, ...
13
votes
1
answer
8k
views
Is there a way to make Powershell use forward slashes instead of backslashes for path autocompletion?
Lately I have been using the wsl command to run Linux (Ubuntu) binaries and commands within powershell.
For instance:
ls | wsl grep 'log'
I was trying to use vim to open a file named .htaccess but I ...
0
votes
0
answers
1k
views
Typing echo %path% in cmd shows a path that I don't see on the edit environment variables menu
I have this path to Miniconda C:\Users\[username]\miniconda3\condabin that shows up as the first entry when I type echo %path% in my cmd.exe but upon trying to edit it through the system environment ...
0
votes
2
answers
5k
views
How to call programs from cmd directly without adding their paths to PATH variable on windows?
Suppose I installed a new package with someProgram in it:
myNewPackageDir/bin/someProgram
If I want to accessing it from cmd using only its name (example: someProgram --option1 a --option2 b --option3 ...
0
votes
0
answers
898
views
tcm is not recognized as an internal or external command
I am trying to install Tableau Server on my Windows machine. I downloaded the first Tabcmd file from here: https://www.tableau.com/support/releases/server/2021.2.1#esdalt
and ran the setup on my ...
1
vote
1
answer
118
views
Modify $PATH while unpacking archive in Linux
Suppose I have tar.bz2 archive, with some directory that has binary file and some assistive files for it.
When user unpack it, he must start binary from within the result directory such a way: ./...
2
votes
3
answers
2k
views
How to add a single executable from a certain directory to PATH environmental variable?
I was looking for a way to add only one specific executable file from a certain directory to the PATH environmental variable. Instead of adding the whole directory C:\Program Files\Firefox Beta I ...
1
vote
0
answers
34
views
What does the prefix `\??\` mean in a Windows path? [duplicate]
In Windows Task Manager, when displaying the Details view, there is a process conhost.exe, whose Command line is shown as \??\C:\Windows\system32\conhost.exe 0x4. What does the prefix \??\ mean?
I am ...
1
vote
3
answers
5k
views
Windows command dir lists files with absolute path, relative path required
I would like to list all filesnames of all files with a specific extension in a directory structure and write this to a file. What I have reached:
dir /B /S *.ext > list.filenames
This gives me a ...
0
votes
1
answer
310
views
SOLVED: why does my windows 10 user path show fully duplicated values from system path?
My windows 10 user path variable only has the entry %USERPROFILE%\AppData\Local\Programs\Microsoft VS Code\bin
I have put all other path settings into the system path variable.
If I open a command ...
-1
votes
1
answer
195
views
Kali Linux Requires Full Directory Path For All Command [closed]
I'm having a problem on Kali Linux Lite 5.7.0 64-bit related to directory paths.
Not just the CD command, every command requires the full path. For example, if I'm in a directory named "user/...
4
votes
3
answers
3k
views
Powershell - How can I locate where Aliases and Functions are defined?
Background
At some point in time, I know I created a file that defines some functions and assigns aliases to them. These are available in all powershell instances.
The problem is, I can't for my life ...
0
votes
2
answers
23k
views
How do I add Environment Variables of Chrome in Windows 10?
For my class assignment I need to add Google Chrome to Environment Variables. I tried to go there, click on edit in the Path variable, click on new and add this: %chrome%C:\Program Files\Chrome\...
1
vote
2
answers
5k
views
Python refuses to be recognized in Command Prompt despite multiple attempts to add to PATH
I've downloaded and uninstalled Python so many times trying to get this to work. No matter what happens I always get:
"'python' is not recognized as an internal or external command, operable ...
1
vote
0
answers
51
views
Bash Tab expansion to list all executables based on regex
How can I use regex based methods to find commands available in the ${PATH}?
For example when I press w and Tab switch. I get a list of all commands starting with w. I would like to list all ...
0
votes
1
answer
783
views
Adding executable files to my PATH in a Linux shell
My goal is to run the R file helloworld.r from my home directory using Rscript in a Linux shell. My helloworld.r file looks like this
#!/home/usr/env Rscript
print("Hello World")
I have added export ...
-1
votes
2
answers
105
views
which file need to modify after seeing the result of command as echo $PATH and which flutter
I am installing the flutter using Installation Link. To verify installation i checked following commands echo $PATH and which flutter. By mistake i have given the wrong path.
$ echo $PATH
/home/...
0
votes
1
answer
1k
views
How to undo truncated user environment variable using setx?
I was trying to update the path environment variable for my Windows 8.1 PC using the setx command from a command prompt (I won't be making that mistake again), which a) didn't work, and b) truncated ...
1
vote
2
answers
3k
views
files don't appear when using tree-view listing in the powershell
i have a lot of files in the desktop directory but i dont know why when i use tree command to list all files for me in tree like order it just shows me the folders.
Here is how it does list the ...
2
votes
1
answer
112
views
Terminal can't access paths under users (Win10)
In Windows 10 I've named my home directory after my first and last name, however, whenever I try to reference a file location in the terminal, it cuts off the path into two paths, here's an example:
...
2
votes
1
answer
1k
views
macOS find: "relative path not safe", why?
I'm running the following as part of my Travis CI build on macOS to delete all non-.git directories:
$ if [ "${TRAVIS_OS_NAME}" = "osx" ]; then find /usr/local/Homebrew \! -regex ".+\.git.+" -delete; ...
0
votes
1
answer
244
views
Windows 10: Error trying to create a local windows path
I am trying to setup a Python virtual environment by using Python's virtualenv package. Because I do not have any Admin. rights I have installed the package using this command:
pip install --user ...
0
votes
1
answer
1k
views
How path variable retain its old value after overwrite it
the path command displays list of paths of executable files delimited by ; . I have tried to get help for command as follows
path --help
Later when I attempt to run commands like taskkill or ping, I ...
0
votes
0
answers
363
views
Application not found in PATH [duplicate]
I am using Red Hat SunOS. The software I would like to execute is sqlplus
I have two scripts:
script A: contains export PATH=/opt/oracle/product/9.2.0/bin/sqlplus where sqlplus is installed. This ...
0
votes
1
answer
145
views
pip3.exe accesses Python 2 install
I'm trying to use Python 3's pip from the command line in Windows 10. pip3 is in my Python 3 install; however, when called it apparently points to my Python 2 install. Why might pip3.exe live in a ...
0
votes
1
answer
6k
views
Node command not found after installing nodejs
I simply wanted to upgrade my Node installation from v8 to v10. After installing nodeJs, no node command works from the command line. However, npm commands like "npm install" work. Yet when i do "npm ...
7
votes
3
answers
62k
views
Changing JAVA_HOME in cmd temporarily doesn't change PATH temporarily in windows
I hava defined JAVA_HOME to jdk11 in users' environment variable and PATH contains %JAVA_HOME%/bin in it.
Now I want to switch to jdk8 temporarily in command-prompt (cmd) by changing JAVA_HOME to ...
2
votes
1
answer
1k
views
Exclude single executable from path
I have a small problem with my path environment on windows 10.
I'm running CLion, which uses CMake, and it spits out this error:
sh.exe was found in your PATH, here:
C:/Program Files/Git/bin/sh....
1
vote
1
answer
84
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
3
votes
1
answer
3k
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 ...
2
votes
2
answers
1k
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 ...
1
vote
1
answer
620
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 ...
40
votes
5
answers
5k
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
1
answer
1k
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 ...
1
vote
2
answers
2k
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.
...
1
vote
1
answer
2k
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 ...
0
votes
1
answer
910
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
0
answers
2k
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: "...