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.
1,245
questions
0
votes
2
answers
72
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
1
answer
3k
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
0
answers
37
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
3
answers
1k
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 ...
4
votes
3
answers
2k
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 ...
10
votes
1
answer
78k
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 ...
1
vote
0
answers
33
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 ...
2
votes
1
answer
921
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
2
answers
600
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
1
answer
37
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.
1
vote
0
answers
105
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 ...
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
1k
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
1
answer
297
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
1
answer
1k
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 ...
7
votes
3
answers
6k
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
1
answer
123
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
0
answers
354
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
1
answer
341
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
1
answer
811
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 ...
3
votes
1
answer
3k
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 ...
3
votes
1
answer
3k
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
1
answer
253
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
1
answer
61
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
0
answers
49
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
1
answer
2k
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
1
answer
175
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
0
answers
1k
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 ...
4
votes
1
answer
1k
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 ...
2
votes
1
answer
7k
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
1
answer
158
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....
2
votes
0
answers
974
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
0
answers
152
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
1
answer
320
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
0
answers
229
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
1
answer
3k
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 ...
2
votes
2
answers
120
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
1
answer
50
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 ...
4
votes
3
answers
2k
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 ...
1
vote
1
answer
1k
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
2
answers
22k
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\...
0
votes
0
answers
781
views
Adding to the PATH environment variable / editing the .bashrc file
I'm very much a newbie with Linux (coding in general really) but I've have taken the plunge and installed Mint for my coding projects.
I've installed Julia, which I use to run numerical simulations ...
1
vote
0
answers
86
views
Batch - pushd, cd and more with hardcore special characters like: `´~`}][{^!§$%&()=+-~ possible?
Is something like
cd c:\test\`\´\}\]\[\{\³\²\^\°\!\§\$\%\&\(\)\=\+\-\~\
possible at all?
I also have a horrible foldername like:
°!§$%&()=`´}][{³²^@€~#'_-.,;
Honestly, this is very extreme ...
1
vote
2
answers
2k
views
How to change PATH of VirtualBox images
I have some virtual machines on external drive (have local ones too so I can't just change the path in GUI).
I moved the folder with virt. machines again.
Before: /Volumes/6TB_encrypted/only_here/...
0
votes
1
answer
7k
views
Want to remove white spaces from windows path
During installing Windows 10 I created my admin user as Mubashar Javed. It sometimes causes a problem during some software installation.
Due to this, I want to remove these whitespaces from my Windows ...
2
votes
2
answers
1k
views
List of everything installed. Not just those with uninstallers
I've been trying for some time to get a list of everything installed on Window 10. Neither WMIC nor powershell return a complete list.
For example,
Get-ItemProperty HKLM:\Software\Wow6432Node\...
0
votes
1
answer
414
views
Is there a way to circumvent windows path length limits without disabling it? [duplicate]
While disabling windows path length limits makes it possible for some applications to use longer paths others are still not capable of dealing with long paths, because they have some internal checks.
...
0
votes
0
answers
29
views
How to setup a Windows user with remote Documents path?
I am a freelance developer, recently some customers are complaining that my app breaks when their Windows Documents folders locate on a remote path in cooperate network, not locally.
Here are the two ...
1
vote
1
answer
192
views
Linuxbrew from scratch without /usr/bin only with userhome/usr/bin
I'm trying to install linuxbrew for normal users. I have minimally installed Oracle Linux 7.7 and put in a user test without root rights. I have gradually compiled and installed all packages that ...
1
vote
1
answer
589
views
Windows 10: cannot cd $ANDROID_HOME
I have a user environment variable setup:
ANDROID_HOME = C:\Users\steve\AppData\Local\Android\Sdk\platform-tools
In the Windows 10 Powershell, if I try: cd $ANDROID_HOME, I receive the following ...