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.

Filter by
Sorted by
Tagged with
0
votes
0answers
24 views

This PATH Variable is apparently invalid, not sure how to remedy it

In the process of fixing my Java PATH variables for development, I was recommended this Windows app called Rapid Environment Editor, which seems to be pretty dope indeed. I was able to fix my invalid ...
0
votes
0answers
5 views

Issue with converting array or string to valid path [migrated]

I'm trying to make a function that will make my life easier converting images to pdf. I'm using img2pdf which is a Python script. I want to be able to pass files and directory to my function (with ...
0
votes
0answers
12 views

zsh (Default PATH?) messed up with mongodb installation

seems to be imposible after hours and hours trying to solve this problem. All my sudo terminal commands are corrupted due to a several path changes, so i ask for help to set the correct environment ...
0
votes
0answers
11 views

Which configuration file should now be used for global settings in Ubuntu (/etc/profile not being sourced)?

I have a Ubuntu workstation with graphical desktop. I also allow some other users to acess it remotely. I have a set of general aliases, PATHs and settings (including a system-wide conda installation) ...
0
votes
0answers
28 views

How to set the PATH variable with .zshrc

I am trying to compile a program using Intel C and Fortran compilers (icc and ifort) on my Mac (Big Sur 11.2). Both icc and ifort executables are located in /opt/intel/oneapi/compiler/2021.2.0/mac/bin....
0
votes
2answers
28 views

How to use “where” through cmd shortcut?

On Windows 10, I lost all my path variables and now I want to recover every shortcut (code, notepad, npm, java, etc). 'where' is not recognized ... , 'code' is not recognized ... I don't want to ...
1
vote
1answer
47 views

Windows Registry - HKEY_CLASSES_ROOT\Directory\shell

I recently learned about the Registry in Windows, more specifically about the directory Computer\HKEY_CLASSES_ROOT\Directory\shell There you can make a key called eg. Test and another key called ...
1
vote
0answers
25 views

“python” typed in powershell does not work although it is in the PATH [duplicate]

I'm trying to add python to my PATH to use it in the powershell. C:\Users\<user>\AppData\Local\Programs\Python\Python39\python.exe is in the PATH. I removed the alias that triggered the ...
1
vote
3answers
69 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 ...
3
votes
3answers
74 views

How to display each location of Windows PATH on a separate line using the GUI

I don't know what changed about my settings, but recently the dialog box under Advanced System Settings -> Environmental Variables -> System Variables -> select Path -> Edit is not showing ...
-1
votes
1answer
26 views

Where is Microsoft Teams application located on my Windows 10 Computer?

From the 'tray icon' I chose to disable "start Teams on startup" but now I can't find the application. It's not in Programs Files > Microsoft [neither in Program Files (x86)]. It's not in ...
0
votes
0answers
11 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
1answer
32 views

How to I persist prepended items to PATH in fish shell?

My PATH Prefixes Don't Persist I'm using Fish v3.2.0. According to the documentation, set -U fish_user_paths should persistently ensure that the directories stored in it should be looked up before ...
0
votes
2answers
43 views

Windows folder access working with share path but not using absolute path

I am trying to use the net use command to get access to a directory on another server. It works fine when using share path (net use \\server\sharefolder) but not when using the absolute path (net use \...
0
votes
1answer
10 views

Script not able to locate file

I have task scheduler to run every sunday to take backup and copy to ftp server. But script failing with System Error code:2 . However i am able to run script manually successfully.
0
votes
0answers
50 views

How to find Windows environment variables from hard drive without booting?

How can I find what the PATH variable on Windows 10 was on a backup "image" of an old system hard drive? I returned my computer to field support, they "backed it up", restored it ...
1
vote
0answers
20 views

%PATH% contains unresolved variables when connecting to OpenSSH Server on Windows 10

I'm running OpenSSH Server on Windows 10. When I log in from another machine via SSH, the PATH contains unresolved variables. If I have a variable MYPATH defined as MYPATH="C:\MyHome", then ...
0
votes
3answers
82 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
1answer
44 views

-bash: PATH: command not found

I hope someone can help me solve this problem. I am working on a mac and recently I was trying to use the export path function in .bash_profile to help me run a command from any directory in the ...
0
votes
1answer
37 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 ...
0
votes
1answer
85 views

How to add Anacond's python to path and run it inside a given terminal

I solved my own question but I thought I'd share my problem and answer for anyone else having this issue. In a nutshell, I installed Anaconda and I wanted it to be my one and only source for Python. I ...
4
votes
3answers
434 views

The maximum length of the path of a file: 259 or 258 characters?

I try to understand what is the maximum valid length of the path a file. For this, I use the default Windows file manager, on Windows 7, and the following PowerShell script: Get-ChildItem | Select ...
0
votes
1answer
42 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/...
0
votes
0answers
21 views

Places where $PATH gets its value?

So I'm trying to clean up my environment path ($PATH) I know that $PATH gets its value from these places: /etc/paths /etc/paths.d /.zshrc /.bash_profile But it seems like there are more places that ...
0
votes
1answer
32 views

How do I change a command PATH in macOS so I don't have to type out the entire PATH every time I want to run the command in terminal?

I'm following along with a Microsoft Machine Learning tutorial, here. I'd like to shorten the path so I don't have to run the command ~/.dotnet/tools/mlnet in terminal (I'm on MacOS), especially since ...
0
votes
1answer
35 views

How can I change the path name of a folder when it remains unchanged after renaming?

I am currently using a Windows 10 computer. The situation is like this: I copied and pasted a folder called "abc" in the same folder where it existed. After pasting, the folder name of the ...
1
vote
0answers
50 views

Support of the \\?\UNC\server\share syntax in Windows

An application of my company becomes paths passed. Now we encountered errors, because we got paths like this: \\?\UNC\server\share\path\file I was confused about this syntax, because I never saw it ...
1
vote
1answer
1k views

home-brew on macOS big sur

I installed home-brew via /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" and whenever I type in brew I get: Warning: /opt/homebrew/bin is ...
0
votes
1answer
38 views

My default ProgramData path is set to Drive F instead of C (system) for certain programs. How do change it back to normal?

Last year I accidentally moved ProgramData folder to Drive F from C. Realizing that I instantly moved it back and things were going normally until it finally caught up to me. Because of some programs ...
0
votes
1answer
25 views

why are some of my path not added?

I want to run sublime and latex from USB Drive. This is the tutorial. It does not work correctly because the path are not added succesfully. This is my batch file to add the path. del restorePath.txt ...
0
votes
0answers
32 views

Computer does not recognize network drive name

My desktop is connected to a network drive whose IP address is \\10.7.50.3. The same drive can also be reached simply by going to \\fea-fe1 and if I ping fea-fe1, here is the result: Pinging fea-fe1 [...
0
votes
1answer
61 views

Windows 10 User Environment Variable PATH updated but changes not recognized

I want to modify the User Path variable, let's say with "C:\Program Files\Sublime Text 3", which contains subl.exe, so I can use subl in a command prompt. I cannot modify the system ...
0
votes
1answer
19 views

Where is or where should be the folder following the port number in a url?

I have the following error when running an Ubuntu server using apache2 and nginx (index):8 GET http://157.27.222.38:5000/uv/lib/offline.js net::ERR_ABORTED 404 (Not Found) I was wondering where /uv/ ...
0
votes
0answers
90 views

How to restore contents of recycling bin to different folder AND retaining original folder structure

Problem: After deleting lots of sets of files with the same name to recycle bin over time, one can lose track of what they have deleted and want to review them. It seems that Windows recycling bin ...
2
votes
0answers
86 views

WSL can't access disk mounted *below* a drive letter

A Win10 host, with WSL 2 running Ubuntu 18.04, has an SSD mounted as drive path (C:) \2 in Disk Management. (This was to quickly "grow" my C: SSD for software that insists on being ...
1
vote
1answer
2k views

How to Edit $PATH on MacOS Catalina (Zsh)

I open terminal and use echo $PATH I get back /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin/ I'm confused because my .zshrc, .zsh, .bash_profile, .bashrc, and .profile all have ...
0
votes
1answer
101 views

The windows command line correct path issue in windows

PS D:\> When I am trying to do this → PS D:\> cd Academy/Lynda LinkedIn/PHP/0-Learning Composer The Php Dependency Manager/Exercise Files/02_01 It generates this error → https://i.stack.imgur....
1
vote
0answers
86 views

Use PATH variables from windows on windows subsystem linux 2

As you can see in the title I want to use the variables in the PATH of my Windows 10 inside Windows Subsystem Linux 2, I've installed node, composer, and Xammp in Windows 10, but when I try to run any ...
0
votes
0answers
68 views

Is there a performance impact by having a lot of folders in the system PATH?

Is it okay to have a lot of folders added to the system PATH (in either Windows or Linux), or is there a performance impact? (while booting, or while opening a terminal, etc.)
0
votes
1answer
88 views

Set PATH for a Linux GUI Application

Here's the setup: I'm running MX Linux I'm trying to work on a React Native application in Android Studio React Native relies on NodeJS (and thus the node executable) to be available Android Studio ...
0
votes
0answers
37 views

How to restore PATH on mac?

I've installed iTerm2 and then zsh on my mac. Somehow my PATH is broken now and cannot node or npm commands. I'm having a struggle, I've tried uncommenting the following line in .zshrc: #export PATH=$...
0
votes
1answer
467 views

“The system cannot find the path specified” error in Jupyter Notebook

I have been given a Jupyter Notebook which was made on a Linux computer and now I'm trying to get it to work on my Windows home computer. The problem comes when using the !/bin/mv command. I have ...
0
votes
0answers
6 views

How do I change python default path from anaconda to /usr/bin [duplicate]

I'm kinda new to the whole aspect of programming and might have f***d up my installations/paths and dont know how to properly fix things. I hope you can help me. I want to start using pycharm which ...
2
votes
2answers
43 views

How to move Windows, Program Files and etc folders from D to C?

I have a machine, which has Windows, Program Files, User folders located on drive D. Is it possible to move everything to drive letter C without reinstal?
0
votes
1answer
36 views

What is the difference between a normal C:\ drive & an -IC:\ Drive in A windows Machine

Recently, Just now tried to install PyGTK for building python User Interface Modules. Just to mess around With, But It's Saying Can't install PyGTK Without PyObject, So I Also tried to install this ...
0
votes
0answers
25 views

How can I fix running terminal (command not found). I can not run with any IDE?

When I run ls command, terminal works normally, but it shows "command not found" for these commands ffpmeg, brewhome, code blocks, and more. eclipse says "not found path".
0
votes
0answers
13 views

ksh case insensitive path matching

Is there a way to have ksh match file paths like fish or at least in a case insensitive way. Example There is a directory named Upper and I cd u\t it should resolve to cd Upper
3
votes
3answers
187 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
1answer
32 views

What happens if program with same name exists in different locations in Windows PATH?

When we type a command into a terminal and press enter, it searches for the current directory first and not finding anything there it searches ever PATH and sees if something of that name exists ...
0
votes
1answer
3k 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
2 3 4 5
23