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

0
votes
0answers
21 views

“Filename or extension too long” for move, but it isn't

I'd appreciate some insight as this is driving me nuts. I have a folder on a network share: \\host.example.com\Share\Path\Container1\Folder I am trying to move that folder to a new location on the ...
10
votes
2answers
758 views

How to make auto complete available for directories in cdpath for tcsh?

I just learned the trick for setting up cdpath in tcsh and it looks pretty useful. However, it seems that auto-complete of sub-folder names doesn't come with it. Is there any trick available on that? ...
0
votes
1answer
22 views

Automatically shorten paths over a character count limit in bash

Windows and tools running on windows servers (eg. OneDrive) have a limit on path lengths. I am looking for a command line tool in OSX/Linux/Unix to, within a directory, shorten all paths above a path ...
11
votes
1answer
563 views

Multiple Installations and Understanding $PATH

I have an older version of Git installed at: /usr/bin/ I recently downloaded a newer version to: /usr/local/bin When I type: which git I get the location of the old version. I believe that ...
4
votes
2answers
3k views

Prepend to PATH variable (Windows)

I want to prepend a directory to the windows path (I am running Windows 7 64-bit). However I can not find any way to do this: Changing the PATH variable via the GUI is not working as it is always ...
5
votes
1answer
36 views

Is it safe to edit the global PATH environment variable?

I just recently found out that I couldn't run mysql without typing out the whole path or being in the correct directory--unless I added the path to the PATH environment variable. I managed to do so ...
1
vote
4answers
2k views

Win7: messed up system - set too long path variable

I just messed up my Windows 7 Enterprise 64-bit. I tried to install CMake - and during installation i got an error saying something like it can't set the path variable, because it is too long (I can'...
19
votes
2answers
18k views

How to change my system path when it is already too long?

In windows 7, my system path is too long. I want to edit it so I can remove some unneeded paths. However when I click advanced system settings ... [Window Title] %windir%\system32\...
1
vote
1answer
75 views

Path length OK on D: drive but too long for C: drive with both NTFS?

I have a folder containing a large number of files on D:\dev\tools\eclipse. I decided to move it to my C: drive (at the same path) for speed, since C: is an SSD. The drag-n-drop move refuses to copy ...
0
votes
1answer
9 views

fatal error: 'mysql/mysql.h' not found (but added in path)

I use MAC OS X El capitan 10.11.5 I am trying to understand and execute some code on c++ (it is a lot of files and i am new to c++ a), but when i type "make" to compile everything, it returns the ...
12
votes
1answer
396 views

What does “C:2\” in a windows path string mean?

I got this pop-up from the Windows firewall. What is "C:2\" in the path? The real path is D:\Steam\SteamApps\common\... I tried cd /d C:2\ in cmd and got "The system cannot find the path specified."...
0
votes
1answer
22 views

How to exclude current directory from executable search in Windows?

When typing a command in Windows shell, it first looks for the program in current directory and then from PATH directories. Is it possible to somehow (eg by a environment variable) exclude current ...
124
votes
9answers
39k 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 ...
0
votes
0answers
10 views

selenium chromeriver interfering with normal chrome

I am on OSX el capitan. I was using selenium to crawl some pages and I wrote a script. I had to add the chromedriver somewhere on my path so I added it to my user bin. Script went off and did its ...
0
votes
1answer
99 views

Windows Media Player Playlist (.wlp) - how to save relative paths?

I'm syncing Windows Media Player playlists between computers. Therefore, my playlists need to use relative paths, or it will not work on the other computer and vice versa. Background: I'm using my ...
1
vote
2answers
14k views

Getting PATH right for python after MacPorts install

I can't import some python libraries (PIL, psycopg2) that I just installed with MacPorts. I looked through these forums, and tried to adjust my PATH variable in ~/.bash_profile in order to fix this ...
8
votes
8answers
58k views

Spaces and Parenthesis in windows PATH variable screws up batch files

So, my path variable (System->Adv Settings->Env Vars->System->PATH) is set to: C:\Python26\Lib\site-packages\PyQt4\bin; %SystemRoot%\system32; %SystemRoot%; %SystemRoot%\System32\Wbem; %SYSTEMROOT%\...
0
votes
2answers
50 views

Filepaths longer than 260 characters in Window 10 Home Edition

According to this article Windows 10 should allow filepaths longer then 260 characters. I saved several documents with a long filepath in a previous installation (which was upgraded from Windows 7 and ...
1
vote
1answer
3k views

How to fix $PATH environment on Mac OS X?

Recently, I tried to install ruby and I somewhat messed up with variable environment. As a result, I am not be able to use paths in .profile or any other path files that I set up before (I tried in ....
3
votes
4answers
239 views

How to change default path in File Explorer?

On Windows 7 I can right-click the File Explorer icon, choose Properties, and change the Destination. On Windows 10 this seems impossible: How can I change the default folder when opening File ...
3
votes
2answers
3k views

How to specify relative path in 7-zip command line?

I like 7-zip and I needed it's command line today. I bumped into a problem. Is there a way to specify a path within archive when compressing? For example I have a file at C:\some_dir\my_file.txt. ...
0
votes
0answers
13 views

Access Query Save Path Error

I am trying to save an Access query with a certain path (which i can't modify) but i am getting a save error. The save path looks like this : "C:/FOO/BAR/03. FOO/BAR.accdb" Testing the path i found ...
0
votes
1answer
34 views

Copying new files to network drive in windows 7 gives me the error: Path does not exist

I'm trying to save a new excel file on a network drive. I can access the drive, see all files, go through them but when i want to save my work from excel to this drive it gives me the error:Path does ...
96
votes
18answers
27k 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 ...
1
vote
1answer
41 views

Setup Mac OS JAVA_HOME

I have fresh installation of OS X El Captain version 10.11.5. In my .bash_profile I did setup Java home as export JAVA_HOME=$(/usr/libexec/java_home) export PATH=$JAVA_HOME/bin:$PATH However if I ...
3
votes
2answers
2k views

What does // and :: in the values of environment variables mean?

On my Linux machine some of the environment variables contain lists of directories. The directories are separated by :. But sometimes they are separated by ::. Is it just a mistake that should be ...
112
votes
8answers
301k views

Using cd Command in Windows Command Line, Can't Navigate to D:\

This may be a stupid question, and I think I have looked elsewhere to find the answer... Might be a path issue, but when I open the command line and type from the C:\>: cd D:\ I cannot get to ...
2
votes
2answers
5k 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 ...
8
votes
3answers
4k views

How can I print full path of an executable command in Windows?

At the moment when trying to run tf command and/or any other run-able command, I need to open Visual Studio Command to get it executable. I like to use the normal console and/or the alternative ...
4
votes
2answers
956 views

How to remove a path from $PATH variable in fish?

I am using fish as my shell in Debian and recently (after some upgrade) whenever I try to use command completion I have: set: No such file or directory set: Could not add component /usr/lib/x86_64-...
5
votes
2answers
13k views

windows cannot find %windir%\System32\msdt.exe

I'm having this issue when i'm on Device and Printers and i'm trying to load this particular path. I think my disk / bios had just went kaputz. It somehow forgot where the system paths are like %...
85
votes
4answers
54k views

Windows 7's PATH and environment variables are corrupted

I have no clue, but lately I've been having this problem. After running my workstation suddenly something destroys PATH and lots of stuff stops working. Initially, my path had MANY directories listed (...
1
vote
4answers
10k views

Python in command line runs the wrong version?

I have several versions of Python installed on a Windows 7 computer. I want to run Python 2.7 by default, but for whatever reason, typing python in the command line runs Python version 2.4.5. I've ...
14
votes
2answers
14k views

How to calculate a relative path from two absolute paths in Linux shell?

We have two paths. First one is directory, second either a directory or a file. /a/b/c and /a/d/e.txt Relative path from first path to second will be: ../../d/e.txt How to calculate that in Linux ...
0
votes
1answer
34 views

Where are custom system shortcuts stored?

I have my personal custom shortcuts for different apps and I would like to have them synced across devices, but I can't find the file where Mac OSX stores them.
1
vote
0answers
21 views

In OS X, how do you get the finder's path bar to show server name?

I usually have one or two hosts (also Macs) in my finder side bar "Shared" section and often want to navigate to a folder in one of those hosts. I have the path bar on the bottom of the finder window ...
1
vote
1answer
40 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 ...
2
votes
1answer
88 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
28 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 ...
225
votes
4answers
303k 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
35 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
108 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
10 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
29 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 c:\...
1
vote
1answer
16 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
12 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
45 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 working....
2
votes
2answers
434 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
45 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 ...