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
1 answer
17 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
9 votes
5 answers
3k 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
  • 203
0 votes
0 answers
21 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
  • 589
2 votes
1 answer
60 views

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

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
  • 23
2 votes
1 answer
32 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
44 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
43 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
43 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
10 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'...
beedell.rokejulianlockhart's user avatar
0 votes
3 answers
82 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,308
0 votes
1 answer
114 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
  • 776
0 votes
0 answers
18 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
42 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
13 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
  • 354
0 votes
1 answer
15 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
90 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
41 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
160 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
252 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
79 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
216 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
0 votes
1 answer
155 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:...
Eyal Cohen's user avatar
0 votes
0 answers
31 views

Linux Wildcards But For First N Files In Directory

I have a command (just a program I use for work), cryolo_boxmanager_tools.py createAutopick -m path/to/images/*.mrc -c path/to/box/files/*.cbox -o Autopick/. The wildcards don't work in this case ...
kmcguir's user avatar
0 votes
0 answers
153 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
0 votes
1 answer
493 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
85 views

"System can not find the path specified" Unity 2021.3.16f1

I have been trying to get into Unity but an error saying "System can not find the path specified" happens when I try to open a project. . I'm using Unity version 2021.3.16f1 and I am ...
David Brownhill's user avatar
0 votes
0 answers
126 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
278 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
0 votes
0 answers
21 views

Reset "path" where cmd looks for executeables [duplicate]

I was adding a path to cmd, and forgot to add "%PATH%" and instead wiped all my command path execuables I still have my regedit paths, so my computer isn't fully broken, but will my computer ...
User93939344's user avatar
0 votes
1 answer
99 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
0 votes
2 answers
71 views

What are these Windows filename transformations?

i use Windows 7 x64. If i right-click on folder called C:\Longer than (3) and click "Send to" and send it to an .ahk file that simply shows the arguments it received, it shows C:\LONGER~3. ...
Avtem's user avatar
  • 3
0 votes
1 answer
41 views

How to move dashed stroke along path in PS 2022

I have a dashed line and want another dashed line to align with the gaps and dashes: Even when setting the dash length and gap size perfectly they don't align. Is there a way to move the dashed line ...
Chris's user avatar
  • 1
0 votes
0 answers
7 views

Batch drag and drop, set shortcut target as variable instead of itself(.lnk) [duplicate]

I created a batch script that sets some registry settings for the game executables, drag and drop is used to set those registry settings for the game executable path and name (%~1, %~nx1 ), but if I ...
amymor's user avatar
  • 35
0 votes
0 answers
256 views

Having difficulty with installing Stable Diffusion on an Apple M1 Max laptop

Recently, I heard that Stable Diffusion 2.0 had been released, and naturally because I have an M1 Max, and rarely get to really use the graphics power for fun stuff, I decided instead of using the SD ...
SidedTech's user avatar
  • 190
2 votes
1 answer
423 views

Copy Java installation to another system

I'd like to create a detached/offline Java setup on Windows to roll out to other systems and VMs. I know that some applications bundle Java within them, but I was wondering if I can also create a Java ...
YorSubs's user avatar
  • 599
0 votes
0 answers
10 views

I have found that %path% variable expansion doesn't work for nested variables -- is this expected, and if so why? [duplicate]

So after installing sql, python, node and a bunch of other server like things on my dev machine I ran into an issue where my path variable had exceeded the max string limit; in order to handle that I ...
Sidney's user avatar
  • 1,425
1 vote
0 answers
90 views

node.js app symlink relative path resolution

I have a node.js application that lays under /opt/myapp. There is a folder called "plugins" (/opt/myapp/plugins). In the plugins folder (oh wonder) are stored plugins that are loaded on ...
Marc's user avatar
  • 265
0 votes
3 answers
310 views

How to run apps from Windows' command line like in Linux

Context: I use Fedora GNU/Linux as my main OS, but sometimes I need to work within Windows. Over the years, using Linux distros, I have become used to working mainly through the command line, calling ...
Noumeno's user avatar
  • 96
0 votes
0 answers
46 views

'yarn' command doesn't output anything on Arch Linux

So, I installed Arch via WSL2 in my machine, but there's something strange happening... I installed yarn via pacman, but when I type 'yarn' on terminal, I get no output. enter image description here I ...
Paulo Vitor 's user avatar
1 vote
1 answer
440 views

Add a path to the Windows system Path via .bat

I would like to create a script to add a path to the Windows System Path variable. I searched a lot and found some possible solutions, but I'm afraid of making a mistake since I've heard reports that ...
Tyrone Hirt's user avatar
1 vote
1 answer
448 views

How do I make a shortcut (.lnk) to run a .exe file in the same folder so that it works when I switch computers (all file paths are different)

I have a folder on my PC. Within that folder, there is a shortcut (.lnk) and an executable file (.exe). When I click on the shortcut, the .exe file should run. I have managed to achieve this no ...
Matthias's user avatar
0 votes
1 answer
92 views

Is it possible to retrieve a shortcut location and use it as a variable in the target of itself?

I created a VBS script (C:\Script\ReadFolder.vbs) that accept a folder path as parameter. I would like to create a shortcut to run this script in different folders. First, I created a shortcut in &...
UnTroll's user avatar
  • 11
0 votes
0 answers
21 views

Extension with a native client - adding PATH doesn't work

https://imgur.com/a/1UzQ2fy crosspost from stackoverlow. Noob in many ways I'm kind of way in over my head here, as I just wanted to install an extension on Firefox, but I really want this to work and ...
HDRX's user avatar
  • 1
2 votes
0 answers
34 views

Why does $PATH come in two different formats in mintty on Windows?

I'm trying to use node to do a small inline string manipulation of the current PATH in a bash script (in mintty.exe on a GitHub Windows Action Runner), but it's not working as expected. I've recreated ...
Cameron Tacklind's user avatar
1 vote
1 answer
2k 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 ...
Ryan's user avatar
  • 13
0 votes
0 answers
29 views

Move Complete Path in Windows

Using Windows 10 and File Explorer. Is there a way to do this that's optimal? I want to move files from one folder to another, but I also want to recreate the folder architecture from the source that ...
boobounder's user avatar
0 votes
0 answers
33 views

Can't execute LXD after installing from SNAP and adding it to the zsh PATH

I'm trying to install LXD with Snap on a Debian 11 and I added it to the path and added it to my ./zshrc export PATH="/snap/bin:$PATH". But when I try to execute it just with sudo lxd it ...
Ivan.2j's user avatar
0 votes
1 answer
81 views

Most effective way to add custom script to /bin? & best practices

Most effective way to add custom script to /bin? I know that I can do: symbolic-link(but I don't understand how to undo this or clean it up, even after researching) alias xxx="/path/to/script&...
Simm Simmons's user avatar
0 votes
0 answers
950 views

Issues when Windows 10 Account Username Includes Space

In most versions of Windows I have used, and currently using Windows 10, having a space within the account username poses problems, particularly with paths and when the input doesn't accept a path ...
ARGYROU MINAS's user avatar
0 votes
1 answer
287 views

Create shortcut from a link to a specific paragraph in OneNote document: the URL seems too long for a shortcut

I am using the OneNote version with Office 365 for Windows. OneNote has long allowed users to generate links to specific paragraphs. When these links appear in other OneNote documents or in Word ...
user697473's user avatar

1
2 3 4 5
25