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

learn more… | top users | synonyms

1
vote
1answer
23 views

Windows PATH variable isn't working

I have the following folder in my PATH (both paths actually, the system path and my user path) C:\Users\deqn\.cargo\bin In this folder there is file called racer.exe, when I try to run it from cmd ...
94
votes
17answers
26k views

Add directory to $PATH if it's not already there

Has anybody written a bash function to add a directory to $PATH only if it's not already there? I typically add to PATH using something like: export PATH=/usr/local/mysql/bin:$PATH If I construct ...
2
votes
1answer
65 views

Batch populate JPEG IPTC keyword from csv or txt file

I have 50,000-plus JPG files which I've tagged for easy lookup by user-selected keywords. The database which matches image files with their keywords is proprietary and utility-specific. I want to ...
0
votes
0answers
19 views

How to specify an alternative path for a file on Windows?

I have a file on Windows that I interact with on both my Desktop PC and my Laptop on a regular basis. Every time that I want to do so, I need to modify the file path on the device I am currently ...
4
votes
4answers
5k views

How to get the Visual Studio installation path in a batch file

Normally, the path is something like C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\. From Visual Studio, one can use $(VCInstallDir)$ to get this path. Q: But in a batch file, how to get ...
0
votes
1answer
4k views

DbVisualizer Error “No JVM could be found ..” and “please define EXE4J_JAVA_HOME”

On this download page i downloaded dbvisualizer.zip and unpacked it to a folder. Starting the dbvis.exe i get this error: No JVM could be found in your system. Please define EXE4J_JAVA_HOME to ...
214
votes
4answers
286k views

What are PATH and other environment variables, and how can I set or use them?

Questions about setting environment variables the PATH are very common here, and in most cases the answers are very similar to each other. In the future it would be nice to have a good Q/A for ...
1
vote
1answer
25 views

Finding VCI and VPI numbers remotely

I am trying to connect to my ISP with a new router but after calling my ISP they say they don't know what my VCI and VPI numbers are. Is there a way of finding these out remotely? The issue has been ...
0
votes
1answer
50 views

Intel(R) Management Engine Components\DAL in envoirement variable

Here is my path variable C:\Users\hzhao\.dnx\runtimes\dnx-clr-win-x86.1.0.0-rc1-update2\bin; C:\Users\hzhao\.dnx\bin; C:\Program Files\Common Files\Microsoft Shared\Windows Live; C:\Program Files ...
0
votes
0answers
8 views

Fake local filepath on form to image on the web

I'm using iMacros to automate posting ads for my property management company. As of right now all image files that we want to upload to various sites (craigslist, zillow, etc) must be stored locally - ...
-1
votes
1answer
25 views

Why do I have multiple python executables?

I am trying to add python to my PATH variable, but I'm not sure which one to add, or what the difference is. I have one in \appdata\local\programs\python\python35-32\python.exe and also one in ...
1
vote
1answer
9 views

create a dummy network location

I am mentaining an application that ,when I try to run, gives an error message : "You must have a Drive M:\, mapped to Path="\some\network\path" " .... so I wnt to simulate that this path exists in ...
0
votes
0answers
6 views

How do you make php-cli as the default command in the terminal? It's currenltly running php-cgi

When I'm root and I do a php version. It shows that I am running php-cgi: but I need to use the php-cli version which resides in /usr/local/bin/php -- When I'm logged out of root as a regular user. ...
0
votes
0answers
23 views

After adding vboxmanage to PATH, getting “ 'cmd' is not recognized as an internal or external command”

Am trying to add virtualbox exe's to the windows PATH. But after adding "C:\Program Files\Oracle\VirtualBox" to the PATH env am getting the below error. And most of the usual commands are not ...
2
votes
2answers
407 views

Name “wmplayer” is not recognized as an executable file

I cannot run wmplayer from either cmd or PowerShell. My OS is Windows 7 64 bit. I can do it using start wmplayer but I cannot use parameters. Please, help me to handle it.
0
votes
1answer
38 views

How are treated disallowed windows® characters on a fat32 formated usb stick?

I don’t own a mac so I can’t tell about things like?or:in filenames… I’m especially interested in the Dos/Windows® path separator :\. I know in Linux it is a legal character which can be used inside ...
3
votes
3answers
422 views

Where to put libraries and headers on windows (coming from unix?)

When a unix/linux program requires "stuff", I usually put (or dpkg puts for me) libraries and headers in /usr/lib and /usr/include, respectively. I recently downloaded a library that I wish to use on ...
4
votes
1answer
147 views

Windows Batch. Append to PATH Environment Variable, when It Contains Spaces

I want to add some binaries to path for my console session and I'm doing it like so if not defined WIXTOOLKIT_IN_PATH ( set WIXTOOLKIT_IN_PATH=1 set MY_PATH=%~dp0..\tools\wix SET ...
0
votes
0answers
29 views

Disable command parameters for 'commands' or exe's in Start Menu search?

This is a bit complicated so bear with me: Basically, the Windows 7/10 Start Menu search includes results from executable in the PATH environment variable and the App Paths registry key ...
0
votes
2answers
46 views

Why does ls // hang in Cygwin

When I run the command ls // is Cygwin, the shell hangs for about 12 seconds, then gives the error ls: reading directory '//': Permission denied. I remember reading somewhere that /some//path is ...
1
vote
1answer
36 views

Git bash and cmd don't load my user account PATH variable

Start up a gitbash or a windows cmd session and run echo $PATH or echo %PATH% They both print the contents of the system PATH variable, but neither prints the contents of the PATH variable ...
1
vote
1answer
52 views

Shared object (so) files search paths

What is the sequence of paths that are searched for loading a shared object file? I am trying to run a executable which tries to load a shared object file. The shared object file can be found at ...
4
votes
2answers
515 views

Is there any file check summing software which deals correctly with deep paths?

I have been looking for software which will checksum and verify/compare NTFS volumes with deep paths on Windows, and failing verification on every one I've tried. I've even tried writing my own python ...
20
votes
3answers
73k views

How to globally modify the default PYTHONPATH (sys.path)?

On a Ubuntu (10.10) system, I have a Python package that installs itself into /usr/local/lib/python2.6/site-packages/. This isn't contained in the default path (sys.path). How do I add this directory ...
4
votes
3answers
5k views

How can I find out where an environment variable (like PATH) was set?

I have a xterm with the bash shell in linux. When I echo $PATH, it is showing a directory and I want to know who put this directory in the PATH. How can I find out? Thanks!
0
votes
0answers
14 views

What is the path of an MTP device in Windows? [duplicate]

I am running Windows XP and have a phone mounted through USB by MTP. In Explorer, its address is: My Computer\SAMSUNG-SGH-I547\Phone\DCIM I would like to execute a command line command such as ...
0
votes
0answers
9 views

Microsoft access track missing database

I am tasked to find a missing database of an (microsoft) access file to make it work again. I have never worked with access before so I am a total newb. From what I got by opening it, it had a ...
0
votes
1answer
79 views

synology: rsync via ssh requires full path

I found the following behaviour on a Synology RS814+ > ssh backup01 rsync Permission denied, please try again. > ssh backup01 'which rsync' /usr/bin/rsync > ssh backup01 'echo $PATH' ...
120
votes
8answers
37k views

Is there a convenient way to edit PATH in Windows 7?

I do not understand why Windows 7 is still adopting this stuffy dialog box? I feel uncomfortable when editing and looking-up a path in this narrow text box. Is there a convenient way to edit PATH ...
3
votes
0answers
24 views

Shortening Path variable

Currently, my path variable is way too long (as it seems to have been populated by different programs upon installation). I have pasted my path variable below, could you all please tell me if it is ...
6
votes
3answers
19k views

Why can't Excel open a file when run from task scheduler?

I wrote a powershell script that opens an excel workbook and runs a macro. When I run that script from PS console, or even from command line using powershell.exe script.ps1, it jus works. When I set ...
0
votes
1answer
36 views

Path not being completely set in Windows 10

When I open a new cmd and print the path it is not match what is in the System > Advanced system settings > Environment Variables... I have two directories from my User variables and a bunch from my ...
1
vote
0answers
17 views

Redhat linux local user PATH

when i am login in as local user in redhat linux and run command echo $ PATH it is showing me :/sbin: in my path, when i dont have any access to commands like fdisk. then why it is showing me ...
1
vote
1answer
63 views

How do I remove the current directory (“.”) from my PATH?

I recently updated OSX to El Capitan, and in the process of running through the steps needed to update my development environment, I discovered something rather disturbing: bash is behaving as if . is ...
0
votes
0answers
25 views

Program loads project slower with relative paths pointing to NAS - will indexing improve this?

so on my network people work with Cinema4D. They often have to load big projects. I did some tests concerning the location and path-style of the textures for the projects which resulted in: absolute ...
-1
votes
1answer
27 views

How do I make a program run from console by only its name without putting the whole directory into PATH?

I have set HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\putty.exe's default value to %ProgramFiles(x86)%\putty\putty.exe. And I can run it from Win-R thing (by typing ...
2
votes
2answers
75 views

Synology /bin/sh: command not found

My Synology NAS just upgraded and a lot of things have broken. My cronjob that calls Python3 keeps saying /bin/sh: python3: command not found but /bin/sh exists and I am able to call Python3 from the ...
1
vote
1answer
39 views

nano in the PATH but no nano access

I've put nano in the Windows PATH. Nano was initially available globally from the Windows command line but has now disappeared. I am loathe to restart the machine at the moment for a number of ...
4
votes
1answer
1k views

Why do my $PATH and /etc/paths Differ?

Typing export $PATH in Mountain Lion's Terminal returns ...
1
vote
0answers
17 views

Sudo user is not able to export path of ant

Sudo user is not able to export path of ant. I am trying to execute shell script setpath.sh which exports path for ant. After executing the script when I am executing ant command then getting ant ...
0
votes
0answers
22 views

Cygwin command to set user path when logging in ssh

I've setup a sshd as a service on windows 7 with cygwin, choosing to create cyg_server to run it. Now I can login to my machine via SSH with my normal username, everything works, except what depends ...
1
vote
1answer
16 views

Replace shortcut path during creation (Windows)

I would like all new shortcut links created using the right-click option in windows explorer to replace the absolute path with a system variable. The motivation is to have synchronized shortcuts work ...
0
votes
0answers
38 views

When does %PATH% get expanded?

Ok so I'm pretty sure this question has been answered somewhere already, I'm just not able to find it within 30minutes. I have set some custom variables (system-wide) and added them to my system ...
11
votes
8answers
16k views

PATH env variable on Mac OS X and/or Eclipse

When I print out the path in bash, it prints this: /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin When I run System.out.println(System.getenv("PATH")); in Java running under Eclipse, it ...
6
votes
3answers
9k views

How to update the PATH user environment variable from command-line

I have a system PATH variable with the system level config. I use the user PATH variable to complement the PATH with user-specific config. I would like to update the user PATH variable from ...
0
votes
0answers
41 views

CMD doesn't update environment variables

When I edit the system environment variable PATH (or any other, I imagine) through Control Panel\System and Security\System > Advanced system settings, it doesn't update in CMD, even after ...
0
votes
1answer
109 views

How to fix truncated PowerShell output, even when I've specified -width 300

I'm trying to get a list of all the directories and files on an external hard drive, with one fully-qualified directory/file path per line. I'm using PowerShell on Windows 10 to achieve this. This is ...
1
vote
1answer
33 views

What causes ld to not find the library here?

I have got the mpc library (and others, but this is the example) installed in a custom directory: user@host /my/software/prefix $ l usr/lib | grep mpc lrwxrwxrwx 1 user group 15 Mar 5 21:08 ...
-1
votes
1answer
68 views

Shortening Windows 10 command prompt

I'm trying to figure out how to shorten the prompt in Windows 10 so I don't end up with a deeply nested directory path taking up most (or all) of the command line. I've tried applying the information ...
0
votes
1answer
17 views

Setting up mysql in path on OSX so it's included everytime I open terminal

I have installed mysql on my OSX 10.11 and I want to run it from the terminal, so I need to add it to my path. I have created a .bash_profile file in my home directory with the contents export ...