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
-1 votes
0 answers
65 views

How to convert application to regular folder in IIS 8.5

I have a virtual server (2012 R2) using IIS 8.5. I'm using it for test and educational purposes. When i look at the IIS Manager on this virtual server from content view, i see that a directory is ...
backup's user avatar
  • 1
1 vote
1 answer
138 views

Windows PowerShell: Get-FileHash and long file paths

OS is Windows 10. I'm using PowerShell's "Get-FileHash" command to generate a file's MD5 checksum directly within its folder, like so: PS Z:\Test> Get-FileHash 'test.txt' -algorithm MD5 ...
user1763606's user avatar
1 vote
0 answers
18 views

Pathname or word too long in Cshell

I am using cshell. And I know that there is a limit of 1024 character while setting path. But I have many path variables which I need to set. So, it is exceeding 1024 characters and I am getting an ...
Subhadip's user avatar
  • 111
1 vote
1 answer
60 views

What does it mean to "run something in a shell profile"

I'm installing Homebrew and I get a message that says: Next steps: ⁃ To add Homebrew to your PATH run brew shellenv in your shell profile (e.g. ~/.bash_profile or ~/.zprofile)" What does it ...
dkv's user avatar
  • 193
0 votes
0 answers
20 views

Mac's sudo not sanitize PATH from user's setting?

Mac's sudo behaviour is unlike everywhere else, of which just like observed in Passing PATH through sudo, sudo would flush PATH every time. However, I found in Mac, my PATH setting is carried into ...
xpt's user avatar
  • 8,611
0 votes
0 answers
68 views

Converted BAT to EXE Now Path to Temp Not Local

After converting Test.bat to Test.exe the Test.exe not finding local input file 360_2016.mp4 and the EXE file CMD Prompt displaying its path is to TEMP not local directory/folder. The EXE file is not ...
CANJMP's user avatar
  • 23
0 votes
0 answers
86 views

How to remove left-over files from an Homebrew installation

My current homebrew has its files installed in /opt/homebrew which is correct. However, I have several hundred leftover homebrew files in /usr/local/Cellar which are still symlinked to in /usr/local/...
Cliff Helsel's user avatar
1 vote
1 answer
53 views

Is there a `man/` equivalent of $PATH (which is for extra `bin/` directories)?

When I experimentally install some new software, I don't go through the extra effort of putting all assets in the right places like /usr/local/man. Occasionally, I'd like to have manpage support for ...
Sridhar Sarnobat's user avatar
0 votes
0 answers
15 views

Character limit Trying to modify the system PATH variable after already entered the long path in register give error msg [duplicate]

Getting this error in windows 10 64 bit I did enable to enter long size path from the registry My question is how to disable this character limitation ? I most say that this limitation is happening ...
user71020's user avatar
  • 607
0 votes
1 answer
117 views

In Windows, open a Unix file or path

Given a clipboard holding a Unix-style path, e.g. /c/tmp/xxx.pdf or /z/foo/bar/, what might be needed to let Windows open that file or folder, C:\tmp\xxx.pdf or Z:\foo\bar, without manually changing ...
Camille Goudeseune's user avatar
0 votes
0 answers
44 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 ...
Elizabeth V.'s user avatar
0 votes
0 answers
108 views

"javac is not recognized as an internal or external command, operable program or batch file" error; PATH methods failing

I'm taking Data Structures right now and I've been having issues with Java on and off throughout, but now it just won't work on my computer anymore. I downloaded the Eclipse Temurin JDK 17 for Windows ...
ScanVisor's user avatar
2 votes
0 answers
236 views

My PATH environment variable got lost during an installation this morning Windows 11

I noticed that commands weren't working in my command prompt. I tried rebooting but still the same problem. Eventually after looking in this forum, I found out that my PATH variable was effectively ...
dacfer's user avatar
  • 155
0 votes
1 answer
94 views

Can't use pipenv after adding to $PATH

I'm using a Linux box on which I don't have sudo privileges. I have python and pip installed. I've run pip3 install --user pipenv, and confirmed that ~/.local/bin/pipenv exists. I then added PATH=~/...
Frank Harris's user avatar
0 votes
2 answers
210 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 ...
Sam's user avatar
  • 1
0 votes
1 answer
46 views

Folder location / path issue

I am a learning junior sys admin and I read an article on how to give a shared drive over the network a recycling bin in a roundabout way...I was told if i change the file path of a random folder in ...
iliightly's user avatar
0 votes
0 answers
359 views

Windows 11 path too long issue persists after regedit

I followed the recommended steps to solve the path too long issue on Windows 11 (Insider Preview v23H2, b25951.1010); nevertheless, the problem persists, as I still get error path too long when ...
K.Mulier's user avatar
  • 180
5 votes
1 answer
6k views

Enable long paths on Win 11 Home

I need to enable long paths but my Win 11 Home edition does not have the group policy editor. Is there a way to enable this from the command line or install group policy editor on my machine?
A__'s user avatar
  • 317
3 votes
1 answer
1k views

Powershell - Get-ChildItem asterisk wildcard in path - strange behaviour when used parameter -File

I found one strange behaviour when I'm using Get-ChildItem cmdlet Folder structure: d:\test\fooA\foo\1-9.txt files d:\test\fooB\foo\1-9.txt files d:\test\fooC\foo\1-9.txt files d:\test\fooD\foo\1-9....
Jan Krejci's user avatar
0 votes
0 answers
54 views

Can end users specify where to save games' data?

This freeware Unity Engine game saves in Windows its data at: %USERPROFILE%\AppData\LocalLow\Turbo Chimp %USERPROFILE%\Documents\Turbo Chimp The registry key HKEY_CURRENT_USER\SOFTWARE\Turbo Chimp ...
LWC's user avatar
  • 916
0 votes
0 answers
45 views

How change location of updated StickyNotes database (SQLite) On Windows 10 & Windows 11

I searched many places for change location of updated StickyNotes database (SQLite) On Windows 10 & Windows 11 with no help. Now my goal is windows 11. it seems it is not possible to change that ...
SMQS 200's user avatar
0 votes
1 answer
301 views

How can I prevent iTerm2 from printing environment information on startup?

I recently started using iTerm2 + Oh My Zsh to see what the hype was all about. While it's cool, I had some issues getting it to work properly. Specifically, it wasn't recognizing standard commands ...
Mike Ciffone's user avatar
0 votes
1 answer
166 views

How to remove Anaconda PATH?

I have uninstalled Anaconda from MacOS but still there is on the PATH. I have searched all .bash_profile, .zshrc but I did not find anywhere that set the Anaconda path. It is available on both bash ...
Mahdi Amrollahi's user avatar
0 votes
1 answer
293 views

Path edits are not persisted after shell is restarted in Ubuntu WSL

I just installed miniconda3 on Ubuntu (through wsl on Windows 10). If I try to execute conda --version, I get an error saying that conda is not a recognized command. To solve this, I ran export PATH=/...
Fabrizio's user avatar
  • 109
10 votes
5 answers
4k views

Cron can't find executable which works in terminal?

I've written a small tool in C++, compiled it, made it executable, and move it to /opt/tools/bin. The latter is a directory I created to store small, custom programs. I export it to $PATH in my ....
St4rb0y's user avatar
  • 213
0 votes
1 answer
172 views

How to set PATH on MacOs for non-login shell?

On mac os, if I do ssh localhost 'md5sum --version' the md5sum command located in /usr/local/bin is not found. This path is listed in /etc/paths but this config file is not read by the shell because ...
Fractale's user avatar
  • 647
11 votes
1 answer
12k views

STILL no file paths longer than 260 characters in Win Explorer, in 2023? [duplicate]

When I try to create a subfolder in a folder whose file path is already cca 260 characters, I get this message: The file name(s) would be too long for the destination folder. You can shorten the file ...
cat's user avatar
  • 113
2 votes
1 answer
118 views

Windows exe program work in safe mode but error in normal (access, permissions error)

I have installed the program "VMS" needed to configure the IP camera. When I run shortcut, program does not reacting at all. But after several attempts to run, an error appears. Windows ...
Russell's user avatar
  • 21
2 votes
1 answer
178 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 ...
Anon Anon's user avatar
-2 votes
2 answers
326 views

$PATH corruption on Cygwin on Windows 10

I am running cygwin on a Windows 10 computer. If I execute $PATH from the cygwin command window, I get the following error: $ $PATH -bash: /usr/local/bin:/usr/bin:/cygdrive/c/Program: No such file or ...
Ben Blackwell's user avatar
0 votes
0 answers
88 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 ...
BertW's user avatar
  • 1
0 votes
0 answers
11 views

How to convert a UNC device path to a file URI? [duplicate]

I have \\?\UNC\localhost\Volume{59e01a55-88c5-411f-bf0b-92820bdb2548}\, which I need to convert to a file:// URI. I also need to use %SystemDrive% in place of the Volume{} identifier, but that shouldn'...
RokeJulianLockhart's user avatar
0 votes
3 answers
510 views

Is there a Windows equivalent to ~/.local/bin?

On Ubuntu, the default path includes /usr/bin, which is where most system applications are installed via sudo. The equivalent on Windows is C:\Program Files, protected by UAC. (Of course, it's more ...
lofidevops's user avatar
  • 1,328
0 votes
1 answer
1k views

In powershell to treat string as raw sting

I have to go to this C:\Users\user\Documents\code\dart\learning_dart\bin\string_lerning\ directory in Powershell I can use cd C:\\Users\\user\\Documents\\code\\dart\\learning_dart\\bin\\...
Udesh's user avatar
  • 882
0 votes
0 answers
83 views

MS Visio: how to add arrows to SVG path?

I need your help. I have an SVG file containing (among the others) the line and path objects. What I need to do is to import this SVG into MS Visio and then add arrowheadss to these imported lines ...
Argut's user avatar
  • 121
0 votes
1 answer
116 views

I installed grype on my Windows 10 machine, but my WSL2 console does not seem to detect it. What have I done wrong?

I installed Grype through a command I ran in WSL2 and I believe I correctly added it to PATH. When I try and use Grype in my terminal however, nothing happens. I added "C:\grype" to PATH. ...
nowa's user avatar
  • 1
0 votes
0 answers
20 views

How to trace back PATH of executable in Windows? [duplicate]

In Windows, you can set PATH to specify which executables you can invoke without the need to specify their path. How can you trace back where Windows found the executable? Example 1: Let's say you ...
Matt's user avatar
  • 384
0 votes
1 answer
27 views

How to access GNU-Emacs binaries located in HOME partition from everywhere?

I built GNU-Emacs from scratch and now I have working binaries of it in my home partition. So ~/somedir/emacs/src has all the binaries. If I issue the following: PATH=$HOME/tmp/emacs/src:$PATH that ...
Niranjan's user avatar
  • 103
1 vote
1 answer
658 views

Tangled up file paths trying to take Desktop off of OneDrive

So, I don’t like that my desktop folder is in OneDrive. It messed with the performance of my old PC, and I was able to change where the desktop folder lived on my old one without issue. I now have a ...
Laurennial's user avatar
0 votes
0 answers
174 views

do i need to have [%systemroot%\system32] also when [%systemroot%] already is present in path?

Is there a need to also have [%systemroot%*system32*] or is that path already "covered" by [%systemroot%] ?
TiVoLi's user avatar
  • 1
0 votes
2 answers
1k views

Path without leading slash

In a path, you can use relative and absolute paths. /: Root directory ./: Current directory ../: Parent directory But when you don't use a leading slash e.g. cd path/to/dir it acts like you're using ...
puncher's user avatar
  • 105
1 vote
1 answer
5k views

override windows store open action when launching python in powershell [duplicate]

C:\Users\my-username\AppData\Local\Programs\Python\Python311\python.exe is in my path but when I execute python in powershell it automatically opens up Microsoft Store which is anyway blocked by the ...
anjanesh's user avatar
  • 149
0 votes
1 answer
272 views

PATH, bash, profile

I know. Yet another question about the very basics of Linux, but I obviously am missing some tidbit here despite reading many threads about this subject. I recently had to nuke-and-pave (and reinstall ...
Birdman's user avatar
  • 39
1 vote
2 answers
1k views

Linux Mint $PATH, environment global change

I'm using the latest Mint (21.1, 64bit AMD). Apologies, this is probably more of a Stupor-user question than a Superuser one, but with much web-based searching I have come up with a plethora of ...
Birdman's user avatar
  • 39
1 vote
1 answer
761 views

Restore previous folder windows after restarting explorer.exe [duplicate]

How can I Restore previous folder windows after restarting explorer.exe? I thought about saving the current folder position/folder path and retrieve/open it after the explorer restart? For example, if:...
fatFeather's user avatar
0 votes
0 answers
661 views

every time i open my parrot OS terminal i get bash: ‘export: command not found

I prefer Linux. I accidentally executed a misspelled command in terminal. sudo echo 'export PATH=/home/grump/miniconda3/bin:$PATH' >> /.bashrc What can I do now that it is constantly executing ...
Girum Senay's user avatar
1 vote
1 answer
3k views

Where does Chrome store the URLs for web apps (desktop shortcuts that open in a new window)?

I am using Windows 10 (21H2) and I have a semi-old chrome shortcut for a site, that I set up to open in a new window (so that it works like an app - create shortcut -> open in new window). Problem ...
Benjamin Krausse DB's user avatar
0 votes
0 answers
380 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 ...
Kamal's user avatar
  • 1
0 votes
1 answer
499 views

Cannot find source of PATH variable in zsh

I wanted to change $PATH and I did not pay attention to shell, so I changed $PATH in .bashrc instead and not in the dotfile for zsh. Now when I wanted to find it and change it, I cannot find any file ...
BlueBubbl's user avatar
-1 votes
1 answer
284 views

Why graalvm is not appearing in update-alternatives --config java?

I downloaded the file graalvm-ce-java17-linux-amd64-22.3.0.tar.gz and extract to the location usr/lib/jvm. Then i set the environment path with command export PATH=/path/to/<graalvm>/bin:$PATH ...
Prakash Karkee's user avatar

1
2 3 4 5
25