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
0answers
25 views

Anything I add to path in enviroment variables gets deleted after i close the window [closed]

So, I've been looking for solution's on the web but I can't find any. Every time I try to add something to path it deletes it right after I close it. This is on my user. However if you do it as ...
2
votes
1answer
18 views

Cannot find `.exe` files (in PATH) from CMD after installing WSL

After installing Ubuntu 20.04 using WSL, I cannot run .exe files from CMD without providing the suffix .exe.
1
vote
0answers
20 views

Bash Tab expansion to list all executables based on regex

How can I use regex based methods to find commands available in the ${PATH}? For example when I press w and Tab switch. I get a list of all commands starting with w. I would like to list all ...
2
votes
1answer
44 views

Why does `sudo env “PATH=$PATH”` do anything at all?

Can anybody explain why this: sudo env "PATH=$PATH" make install is not the same as this: sudo make install ? I had a situation recently where make install failed unless run as shown above. The ...
0
votes
2answers
54 views

Linking OneDrive media in PowerPoint presentation when OneDrive is on different paths

I have several PPTX presentations that contain linked videos (not embedded because of file size). The presentations themselves are stored in OneDrive as well as the videos. However, on my home PC ...
0
votes
1answer
27 views

What would happen if someone removed the PATH variable from /etc/environment?

Currently, the best known way we found to add an API key to a remote Ubuntu server was by editing it in as an environment variable in etc/environment. The infrastructure docs of the project were ...
0
votes
0answers
23 views

I changed my user profile path name and now my Firefox extensions are broken

As per the title, I finally decided to fix my user profile path handle, which was not showing correctly and, obviously, something broke. The only thing I noticed so far were Firefox extensions not ...
2
votes
0answers
19 views

Best way to generate ASCII tree visualization of a directory with long file paths?

I've enabled the Enable Win32 long paths template in the Local Group Policy Editor. I have a directory with several nested directories that have long file path names. I'm trying to generate an ASCII ...
0
votes
1answer
92 views

zsh compinit: insecure directories, run compaudit for list

After I installed nvm locally, it auto added paths to .bash_profile file. But my default terminal use .zshrc so I copied those path over. Everytime I fire terminal after above change, terminal auto ...
1
vote
1answer
50 views

Windows 10 command prompt is not recognizing any basic commands

I have read forums, but have not found anything useful about what to do, with someone suggesting it might be with my PATH variable, but I don't know how to fix that. Output of ipconfig: Output of ...
0
votes
0answers
18 views

Error: the __LINKEDIT segment does not cover the end of the file (can't be processed) in: xxx.dylib during modifying rpath

I would like to change rpath in my .dylib file but I get following error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: the __LINKEDIT ...
0
votes
1answer
31 views

Where does systemd actually search for units?

Today I spent too many hours figuring out what is wrong with my systemd which was refusing to find units in .config/systemd/user. The symptoms were: systemd-analyze --user verify <unit> worked ...
1
vote
3answers
53 views

Incorrectly saved file lost during recent update - cannot find anywhere

I had a Word .docx file in process, mistakenly saved to documents in quick access instead of documents in C:drive. An update came through and when I went to open the file the error said it had no path,...
0
votes
2answers
31 views

Windows path no longer shows as list in Control Panel Environment Variables

When I manage my environment variables from the Control Panel (System > Advanced system settings > Environment Variables), PATH used to show up as a nice, manageable list of folders which were easy to ...
0
votes
1answer
46 views

EXEs not executing on Win 10

Recently installed Github Desktop and it wants to find git.exe on the path. I have Git installed in C:/PortableGit. I added C:/PortableGit/bin to my System path. I verified it's there. If I open a CMD ...
0
votes
1answer
111 views

Convert UNC path to WSL path

I created an alias as part of this question. It functions as expected except that whenever it's run from the home directory it outputs a non-fatal error: '\\wsl$\Ubuntu-18.04\home\hashim' CMD.EXE was ...
0
votes
0answers
29 views

vegas pro - set relative path to used pictures in a project

Vegas Pro - all versions - one thing makes me crazy changing the location of a project folder - there is always a message - the media is offline (i.e. my pictures used for a slide show, for example). ...
0
votes
0answers
37 views

Just had 2 firewall path's pop up as letter:number\path\to\exe. Why the weird path?

I just finished upgrading all my hard drives. Lots of data migration. Fired up my first game and was prompted for a firewall rule. Not unexpected as the drive letter the game was on changed, ...
0
votes
0answers
110 views

How to call a path with up one level from .ini file into bat command string?

I'm creating a standalone installation pack for an existing map editor, for my fellow game map makers. The map editor is called Finalsun, and it has an INI file called FinalSun.ini, inside the .ini ...
0
votes
1answer
55 views

Adding executable files to my PATH in a Linux shell

My goal is to run the R file helloworld.r from my home directory using Rscript in a Linux shell. My helloworld.r file looks like this #!/home/usr/env Rscript print("Hello World") I have added export ...
0
votes
0answers
9 views

Modify Local Path Default User On Windows Server

Creating Windows Server image and need to modify the local PATH a user will have on first login. I know there's a Default user template in C:\Users\Default, but where would users pick up their local ...
1
vote
1answer
34 views

httpd - SSLCertificateFile: file '/var/certs/domain.cert' does not exist

maybe i just can't search in internet but i stuck with that: I have Fedora Server 31 with httpd installed. I added small vhosts config: Listen 3000 <VirtualHost *:3000> DocumentRoot "/var/...
1
vote
0answers
9 views

“File mask” of “Find in Path” command in Pycharm 2019.3.1 (community edition) does not contain *.py option

I will like to use the "Find in Path" -CNTL-SHIFT -F command to search for words in .xml and .py files but when the File in Path screen comes up, the file mask only contains 3 extensions - *.xml, *....
0
votes
2answers
54 views

Two paths for Win10 start shortcuts

Few of my shortcuts in Start suddenly disappeared. When I tried to discover why, I found that there are two paths for shortcuts in Start: C:\ProgramData\Microsoft\Windows\Start Menu\Programs and C:\...
0
votes
0answers
34 views

Create a zipped file from command line and not include the whole “absolute” path

the script is created to be executed in multiple machines. current pwd is : /Users/Mach01 destination folder : /Users/Mach01/logDumps/Mach01Log.zip source folder : /Users/Mach01/Installs/logs I ...
0
votes
0answers
30 views

SSreflect not working with Emacs, Proof General, Coq. How to install SSreflect in MacOS?

If I do something like - From mathcomp Require Import ssreflect. it gives me the following error. Error: Cannot load mathcomp.ssreflect.ssreflect: no physical path bound to mathcomp.ssreflect But if ...
0
votes
0answers
9 views

Path hyperlink for different users

I'm looking to share files stored on an intranet via hyperlinks : C:Users\user1\intranet\somesfolders\file But the person receiving it needs C:Users\user2\intranet\somesfolders\file is there a ...
0
votes
0answers
42 views

How to make Firefox handle Unix-style paths on Windows

I added an option to the context menu in Windows 10 to allow me to copy the paths of (local) files or folders to my clipboard. E.g. if I right-click on C:/users/simon/example.pdf, that path gets ...
1
vote
1answer
112 views

Does ECHO %PATH% show the path in the wrong order in Windows?

I'm currently fighting with my IDE and usage of PATH, JAVE_HOME, etc. on Windows 7. As stated in this question: PATH variable showing different values (command prompt vs environment variables dialog ...
0
votes
0answers
19 views

Installing jupyterlab on MacOS - how do i add it to the PATH environment variable? [duplicate]

I have installed jupyterlab on MacOS with pip3, but now it says the following: "You must add the user-level bin directory to your PATH environment variable in order to launch jupyter lab." What ...
0
votes
1answer
37 views

Redirect HTTP paths to ports, keeping the rest

I have the issue where I want to redirect a URL, like https://foo.bar/foobar/thing to https://foo.bar:1234/thing. I have seen solutions where one could redirect from /foobar to port 1234, but how ...
0
votes
2answers
60 views

Shell script MacOS: use the script path as a part of a path to a folder

I learn MongoDB and play around with databases. I often run database servers so I need to change the path to some DB a lot. I made a script for that --dbpath <path_to_some_folder>/data/db But ...
1
vote
2answers
102 views

How to find out where is a system command in Windows 10

(1) Where is the command "mklink"? I searched C:\Windows for it but there is no result. (2) Is there a generic way like "which" command in Ubuntu to find out the absolute path of a command whose ...
0
votes
1answer
113 views

Pycharm doesn't detect python installed from Microsoft store

I have python 3.7 installed on my pc downloaded from python's official website and pycharm detects it and is fine. But, windows's powershell doesn't detect it. I have added it to path of system and ...
0
votes
0answers
15 views

My system variable path was deleted accidentally and a new one was created [duplicate]

... but that was a yesterday, done by someone else. My pc has already been restarted twice before I came to know about it. Is there any hope AT ALL to recover the PATH? Im on win 7 32 bit.
-1
votes
2answers
100 views

Escape Ampersand in path variable

In my PATH environment variable, there's C:\Program Files (x86)\MySQL\MySQL Fabric 1.5 & MySQL Utilities 1.5 This screws up the whole PATH --- the entries that come afterwards are not taken into ...
0
votes
1answer
58 views

How Do I Paste A Path Into Netbeans With Proper Formatting?

every time I past a file's path into Netbeans (for example, C:\programs\test.txt) I always have to add in the escape characters so that Netbeans understand the path. So, I will paste "C:\programs\...
0
votes
0answers
27 views

Why can I start Chrome with “chrome”? [duplicate]

When I press Windows+R or open a Command Prompt and I enter chrome, it will start Google Chrome. Why? Which Chrome installation will it start? It's not in my PATH (verified with echo %PATH%).
-1
votes
2answers
90 views

which file need to modify after seeing the result of command as echo $PATH and which flutter

I am installing the flutter using Installation Link. To verify installation i checked following commands echo $PATH and which flutter. By mistake i have given the wrong path. $ echo $PATH /home/...
0
votes
1answer
34 views

How deep goes the environment variables PATH in windows?

I've searched for this answer for a long time and can't find any occurences during my searches about this matter. How deep goes the looking for a file when windows uses the PATH env? Does it look only ...
0
votes
0answers
48 views

Filename pulled from environment variable doesn't work in Node.JS app, but works entered directly in code?

I have a bash shell script on my Ubuntu 14.04 box that sets some environment variables for a Node.JS process, one of whom is the absolute path to a file. Here is the shell script: #!/usr/bin/env ...
1
vote
1answer
39 views

Prevent accidential creation of “backslash” filenames on Linux?

After years of working on Windows, at work I am frequently saving files in the wrong location by typing C:\tmp\filename.doc. Where on Windows this would have created a hierachy C:\ '-- tmp\ '--...
0
votes
0answers
30 views

How make one linux directory path “point” to a different path

I just changed distros and I have umpteen bash and vim scripts throughout various file systems which reference the path '/mnt/0' that now need to reference the path '/media/q/fs-uuid' instead. Is ...
2
votes
1answer
42 views

Adding a path to login.conf in Bash / FreeBSD

Due to the fact that freebsd pkg repos (binary) do not come with support for lame mp3, and I don't want to complicate things by having a dual dependency tree, I'm attempting a workaround by installing ...
0
votes
0answers
101 views

How to include subfolders in a Windows path?

I would like to follow this guide to lockdown a machine by blocking the execution of binary files for a specific user via a group policy in the MMC like so: https://blog.brankovucinec.com/2014/10/24/...
0
votes
0answers
22 views

How to have a linux repo/application “find itself” on the filesystem?

I have a repo/application/ecosystem, call it qux. When qux starts, it needs to source qux-master/configure_qux.sh or maybe hit some scripts in the repo. However, I can't guarantee where qux-master is ...
0
votes
0answers
36 views

Broke Python Path

I was installing and reinstalling Python and somewhere in the process, I broke my path. Whenever I type python into the cmd line, the windows store pops up. In the user variables I have: variable ...
0
votes
0answers
35 views

I changed my username but still the previous username is shown on the C:/Users

I installed Windows 10 with user1 username, after a day I went to control panel and changed the name of my username(Administrator and the only user) user1 to user2 and now it shows user2 in the ...
1
vote
1answer
299 views

Long path file successfully copied but cannot open in Windows 10

I wanted to copy files from a Windows 7 Machine to a Windows 10 Machine and used Network transfer via LAN, however, I wasn't able to copy all the data because I received an error at the end: ...
-1
votes
2answers
80 views

Can someone give me a rundown on what exactly the path variable does? [duplicate]

I'm reading my textbook and it said if I'm downloading java jdk Id want to set my path variable. But I already download my java JDK and JRE and its completely functioning.(I'm using eclipse). However, ...

1
2 3 4 5
22