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
5
votes
3
answers
2k
views
How to restart explorer without losing open windows?
When I have to restart explorer.exe, usually I have many folders open, which get closed in the process. So is there a way to reopen these folders automatically after restarting explorer?
0
votes
0
answers
477
views
Create UNC in Windows
I am using Windows 10 Home at home.
There is a folder called C:\LocalData in my computer.
I need to map it to \\AllData.
At work, we use an Access database with a front-end and a back-end database. ...
2
votes
1
answer
973
views
PATH is not being refershed in VS Studio Power shell environment?
I have added MingGW to my path a couple of days ago and I have turned off my computer yet I find that the path has not been refreshed. I currently have a Windows 11 OS. I have to run this command ...
1
vote
1
answer
541
views
How to apply windows short path (8.3) to network path?
Following my question here on SuperUser and here on StackOverFlow.
I've noticed that windows 8.3 path only apply to local path like: C:\Program Files and not on network path like: \\MyNetworkPAth\...
0
votes
1
answer
165
views
How does windows encodes non English path?
When providing a Filename of C:\א\Toc1.dump to the pgadmin's backup tool, it reproduces behind the scene an encoded path of C:\\0F04~1\\TOC1.DUMP as in the screen shot:
When I trigger the pg_dump.exe ...
1
vote
0
answers
370
views
How is miniconda getting added to my powershell $env:path?
When I check my user and system PATH variables, neither of them has the Miniconda path included.
However, if I open up a powershell prompt and run echo $env:path I see that this includes the contents ...
0
votes
1
answer
488
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, ...
2
votes
2
answers
315
views
How do I force Gnome Web web browser to use a different config/cache directory?
Gnome Web is the only application that I've seen that needs to create a ~/.var directory, specifically:
~/.var/app/org.gnome.Epiphany/
I already have a .config, .local, .mozilla and more.
How can I ...
0
votes
1
answer
907
views
How to overcome "jni error has occurred" after Minecraft and Java update in Windows 10?
I updated from Minecraft 1.16.2 to the latest version of Minecraft at this time which is 1.18.1, opened the Minecraft Launcher client, selected "Latest release 1.18.1" from the drop down, ...
0
votes
0
answers
943
views
Ruby showing in $PATH for WSL2, but not available to run
I'm running WSL2. If I echo $PATH in the WSL2 terminal, I see
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:
/usr/local/games:/usr/lib/wsl/lib:
/mnt/c/Program Files/...
0
votes
0
answers
1k
views
The system cannot find the path specified. (os error 3)
Windows 10
OS Build 19043.1348
Ninja version 1.10.0.git
Source Code Path:-
C:\Users\runersystem\AppData\Local\.mabs\siml-mibs-mrunner-m99-w88\workspace\projects\develop\mizen-scri1\tmp-cache\
Build ...
3
votes
1
answer
903
views
Windows Equivalent to symlinking executables into PATH
I want to have a certain executable available in my %PATH% under Windows. The catch here is that the tool is in a directory where there are a lot of other executables which I don't want to have in my ...
2
votes
1
answer
1k
views
MacOS Homebrew: How to override *specific* system binaries
I've installed Homebrew 3.3.1, followed by brew install git, and my resulting path looks like this:
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/brew/bin
Naturally, this path prefers the system ...
1
vote
0
answers
1k
views
Windows make a %shortcut% like %APPDATA%
%APPDATA% (case insensitive) auto expands in windows explorer and the start menu to C:\Users\username\AppData. Is there a way to create one of these variables to point to wherever I want? Is it safe ...
3
votes
3
answers
18k
views
\\wsl$\Ubuntu is not accessible anymore from File Explorer
I used to be able to type \\wsl$\Ubuntu in the address bar in MS Windows File Explorer and I would be able to browse my WSL files.
After an automated Windows update, now I cannot access my WSL files ...
3
votes
1
answer
713
views
How can I open this GoPro folder using the command line? (Windows 10)
When I plug in my GoPro camera via USB, I have to click through four folders before I get to the folder where the video files are:
This PC\HERO8 BLACK\GoPro MTP Client Disk Volume\DCIM\100GOPRO
...
0
votes
0
answers
198
views
Launching VSCode in WSL launches in different directories depending on current directory
In WSL2 (Ubuntu 20.04):
When in the mounted C:\ drive
linuxUsername@computer:/mnt/c $ code /home/linuxUsername/text.txt
?erroneously? tries to open the file relative to my Windows C:\ drive, C:\home\...
11
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
909
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 ...
2
votes
1
answer
845
views
wsl cannot access ubuntu path from command line
e.g. I have gcc in path (ubuntu) but when I use
wsl gcc
I get /bin/bash: gcc: command not found
by running this command I only see windows paths not ubuntu:
#powershell
wsl echo `$PATH
what should I ...
0
votes
2
answers
4k
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 ...
1
vote
1
answer
2k
views
PATH still affected by Anaconda after uninstalling
When I run echo $PATH in terminal (macOS), it returns /opt/anaconda3/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin. I have uninstalled anaconda and both my opt directory and .bash_profile are empty....
0
votes
1
answer
803
views
How can I use volume names with a space in them with tmutil in Mac OS?
I am trying to write a simple electron script to switch between my different time machine backups, but I have gotten somewhat stuck because tmutil keeps throwing errors when a volume name has a space ...
0
votes
1
answer
722
views
Windows path variable contains wrong entry
I know that the resulting path is the concatenation of system + user variables. However, my resulting path contains an entry which I don't know where is coming from, and on top of that is malformed, ...
0
votes
0
answers
75
views
merging multiple system variables in Windows 10
Windows 10 system variables are typically path references. Is it possible to add multiple path references to a single variable? I have a lot of variables related to JAVA or ANDROIDSTUDIO and other ...
0
votes
0
answers
861
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 ...
0
votes
1
answer
37
views
Hidden folders and path too long
I have a folder (C:\Users\Default\myFolder) that seems empty from the explorer (C:\Users\Default\myFolder\$nothing),
but who have sub folders that I can access if I type their path directly (C:\Users\...
0
votes
1
answer
997
views
$PATH editting does not work
I am using Ubuntu 64-bit on a VM and installed an app, added it to $PATH using export PATH=$PWD/bin:$PATH in my terminal (T1). Worked fine. Then i wanted to use the command in another terminal (T2) ...
1
vote
1
answer
942
views
How do I start VS Code in terminal for a different distribution in WSL2?
I've recently set a working copy of Ubuntu-20.04 WSL2 called Ubuntu-20.04-copy01 but I can't open/create files with vscode from the terminal, for example: code main.rs as with the original ...
1
vote
1
answer
4k
views
Powershell profile Set-Location cannot find Path? But works normally otherwise
Set-location 'C:\Users\me\OneDrive - Freie Universität Berlin'
Including the above in the PowerShell profile leads to "path cannot be found because it doesn't exist" error. It does exist, ...
0
votes
1
answer
669
views
How to add Julia to path in WSL2?
I ran these commands in my ~ directory according to a tutorial:
wget https://julialang-s3.julialang.org/bin/linux/x64/1.6/julia-1.6.2-linux-
x86_64.tar.gz
tar zxvf julia-1.6.2-linux-x86_64.tar.gz
...
1
vote
3
answers
2k
views
LFS chroot cannot find /usr/bin/env
I am building Linux from Scratch (guide version 10.1). Everything compiled without any errors, but I am now stuck at the step where it requires me to enter the chroot environment (section 7.4). My ...
4
votes
1
answer
3k
views
How to resolve tilde-completed paths in windows Cmd/Powershell
I'm trying to automate uninstallation of some applications, one of which is XtremeTuner. XtremeTuner saves a command used to uninstall it in the registry under HKLM\SOFTWARE\WOW6432Node\Microsoft\...
0
votes
1
answer
41
views
Is there a shorthand for the symbols ../ for n higher directories in Windows Explorer?
For example. If I have some dir, I need to reference a relative path to current dir 5 folders above I can write.
..\..\..\..\..\someDir
Is there a way to shorten this even further, like using a ...
7
votes
1
answer
20k
views
How to get current path in powershell into a variable
(I don't speak English. Hope you understand.)
Hi, I have a powershell script(.ps1) and it needs to work with the current path(e.g. "C:\Users\user\Desktop"). I don't know how to set it into a ...
1
vote
1
answer
103
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: ./...
6
votes
1
answer
16k
views
How to add a path to PATH variable in linux alpine for the entire machine?
I know I can export PATH="$PATH:my_path" to add to PATH variable in current session.
I also know that I can add this line to ~/.bash_profile to make it persist across sessions for my user:
...
0
votes
0
answers
70
views
How does iTunes run on my computer?
If I go to the search bar (Windows 10) and type iTunes, I get iTunes. I click on it and it runs.
However, if I try to find it on my computer, it doesn't exist. Just a 0 byte placeholder.
C:\>dir \...
0
votes
1
answer
650
views
How to Set Environment variable on window 10
I installed fresh Window 10, Now I want to Edit the Environment variable
The first issue I am facing is When I open the Environment variable there is no PATH variable in the User variables List you ...
12
votes
4
answers
17k
views
A complete list of "%%" relative paths/variables in Windows Explorer in Windows 10?
I would like to know the full list of variables that I can use in Windows Explorer or related relative paths that is accepted by Windows 10. Variables like %appdata%, %userprofile%, %windir%...etc.
In ...
10
votes
2
answers
29k
views
how to change install location of "winget"?
I want to change the install path of winget (the package manager for windows) to D:\Program Files\{insert folder name}. This is the command I was told to use on the documentation
winget install --id {...
1
vote
4
answers
4k
views
How to start Snip & Sketch from command line
I would like to call Snip & Sketch with a Logitech mouse button. The Logitech app expects a path to an executable to do so. How do I do that for Snip & Sketch?
1
vote
2
answers
259
views
How to check for the existence of a folder in a given relative path?
I am trying to see if a specific folder exists
as a sub folder in a certain path.
Assume a path given in a variable InputPath
and a relative path given RelPath.
How can I write a block to look if a ...
-1
votes
3
answers
2k
views
Extract the Absolute / Relative Path to a Folder Up in The Tree
I use the code Resolve Absolute Path from Relative Path and / or File Name in order to extract absolute path from relative path.
Yet my question is how to extract the relative / absolute path of a ...
1
vote
0
answers
465
views
using npm in vscode cause "Error: Cannot find module 'semver' "
If I start the project on vscode terminal:
npm run start
i get this errror:
internal/modules/cjs/loader.js:1083
throw err;
^
Error: Cannot find module 'semver'
Require stack:
- /usr/share/nodejs/npm/...
6
votes
2
answers
5k
views
How is the PATH environment variable set in systemd user instance?
With Ubuntu 21.04, GNOME 3.38.5 Wayland, and zsh as my shell,
$ systemctl --user show-environment
PATH=/home/tony/.cargo/bin:/home/tony/.cargo/bin:/home/tony/.cargo/bin:/usr/local/sbin:/usr/local/bin:/...
0
votes
1
answer
2k
views
.local/bin' which is not on PATH. Linux subsystem for Windows
in Windows/Linux subsystem/ubuntu/windows power shell/bash:
pip3 install --upgrade pip
ok but:
WARNING: The scripts pip, pip3 and pip3.8 are installed in '/home/chills/.local/bin' which is not on PATH....
0
votes
0
answers
325
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
2
answers
812
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) ...
1
vote
1
answer
3k
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....