Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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 ...

1
vote
1answer
40 views

Get path of a file without it's name

The file song.mp3 is located in C:\x-folders\y-folder\z-folder\song.mp3 How can I store this path in a variable? C:\x-folders\y-folder\z-folder\ Thank you
-1
votes
1answer
31 views

User Path - relative paths on work computer vs on home computer

I work on two PC's one at home and one at work. The user name for my home pc is Mike. for work it is mmcloughlin. I have a text file that is located at C:\Users\Mike\Dropbox on my home computer. On ...
0
votes
0answers
30 views

How to write bash script that handles 3 different set of “inputs”

I'm trying to make my .sh file, able to accept 3 different ways of obtaining a path to a file plotted by the user. If no filepath / env-variable (how do I set this up properly?) is given as arg in ...
0
votes
0answers
25 views

Windows 10 OpenSSH Client not found in non-admin console

I'm having trouble using the built-in OpenSSH client from a regular command prompt. The client got automatically installed as part of Windows 10 Update 1803. When I try to execute it from a regular ...
1
vote
2answers
74 views

In Cygwin, why does echo $PATH work, but $PATH fail?

As seen here, doing echo $PATH gives me my full PATH, but doing simply $PATH gives an incomplete version that looks like it hasn't been escaped properly somewhere: Yet when I look into my ...
0
votes
0answers
58 views

%JAVA_HOME%\bin in windows path is not working

I have Java (JDK10) installed. A system variable JAVA_HOME is set to C:\Program Files\Java\jdk-10.0.2 The path system variable includes the value %JAVA_HOME%\bin I was able to run javac yesterday ...
0
votes
0answers
70 views

Removing directories from PATH

I am trying to run rkhunter, but it is giving me this output: stack/security/rkhunter-1.4.6 ➜ sudo rkhunter --check Password: Invalid BINDIR configuration option: Invalid directory found: ~/.dotnet/...
1
vote
0answers
19 views

What are these '3cxx' man pages, and how can I remove/exclude them from man invocations?

This all started because I wanted man pages on C++ types/functions. I found a repository called Cppman that was designed to scrape these pages from either cplusplus or cppreference. At this point man ...
1
vote
0answers
59 views

Copy files and folders with full path in linux bash

I was traying to make a simple script that takes a file or folder path and copies it, preserving the full path, in a folder called system next to the script. Exaple: Imagine I just have this folders ...
33
votes
5answers
3k views

Does the Windows Command Prompt search somewhere other than those locations specified by the PATH variable when launching application programs?

I tried the following experiment. Before I start, I checked the PATH variable from cmd, which has the following value: Path=C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS ...
0
votes
1answer
14 views

Is “physical path” physical?

In Windows OS, the term "physical path" appeared here and there. Is "physical path" physical at all? Is it related to the hard disk physical structure?
0
votes
0answers
7 views

Copy libraries to new location

My company uses LMod to allow multiple users to all have different versions of various everything all on the same machine. This basically involves compiling everything that you need from source into ...
0
votes
0answers
26 views

How to run default version of start command?

I have installed Git and it provided different version of start command >where start D:\Apps\Git-2.10.2\usr\bin\start which does something different than default one. Is it possible to force ...
0
votes
0answers
9 views

Using aria2 instead of curl breaks text substitution

I am trying to mirror a site to archive.org but using curl is very slow so I wanted to try aria2 instead. I first make a link map of the site using this command wget -c -m --restrict-file-names=...
0
votes
1answer
104 views

Install `orca` on Windows

I'm trying to install orca on Windows using these instructions. I'm not sure I understand point 4: In the command prompt, run PATH %PATH%;<paste the "Starts in" field here> In the prompt, I ...

15 30 50 per page