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
0answers
10 views
How to specify or add directory to Python.h search path during setup.py build/install
I'm running Linux, and have downloaded a python module I must install without access to any but my particular /home/user directory (I have no root privileges nor the option to pursue them).
This of ...
2
votes
1answer
38 views
Determine the path of an executed program on Windows
I know that you can open the task manager and right-click on a process and select "Open file path".
But what can I do if the program is just a console application which closes right after its start?
...
1
vote
1answer
24 views
“whereis” and “which” return different paths in Mac OS X
I've got the default OpenSSL 9.8 (Mac OS X 10.6.8) and decided to install the newest version (1.0.1) via MacPorts (sudo port install openssl).
These are console output of which and whereis commands:
...
0
votes
1answer
19 views
How to get the Three.js import/export scripts into Blender on Ubuntu?
I have been working with 3D primitives in Three.js, but now I want to import some models. I plan on using Blender, which I have just downloaded with:
sudo apt-get install blender
However, I was ...
2
votes
3answers
32 views
Where to put utility scripts in Debian but not in the PATH?
I have a web application with a database back-end. I have some utility scripts that are used to initialize the database. I want to include these scripts in the Debian package, but they are dangerous ...
2
votes
2answers
66 views
Getting “export PATH” to stick
I just upgraded to Lion and I am using bash for the first time (my previous experience is with csh and tcsh). I have encountered unexpected behavior. A simple example is:
I create a file ...
1
vote
1answer
37 views
Trick Windows to understand Mac file paths
I'm looking for a efficient way to open Mac paths in windows. I explain the situation:
I am using a software on my mac, which links to files located on a network drive. When i open the same "project" ...
0
votes
2answers
36 views
'brew doctor' command not recognizing path changes
When I run brew doctor, I get /user/bin occurs before /usr/local/bin So I changed my /etc/paths and my ~/.MacOSX/environment.plist as this post said to do. When I run brew doctor again, I still get ...
0
votes
1answer
66 views
brew doctor giving error on a directory that has been removed
I just installed homebrew and as suggested, I ran the brew doctor command. I am linux newbie and do not know how to fix most of these things. But I would like to ask especially about the following ...
1
vote
0answers
37 views
Fix Python sys.path after MacPorts install of Python
So I have reinstalled MacPorts Python. I have port select --set python python27 and which python returns the proper location, i.e., /opt/local/bin. Now, when I import modules in the python ...
1
vote
2answers
90 views
Getting PATH of running *.exe
I am currently developing a customized CafeSuite system for my Internet Cafe.
And I'm using Java and JNI (Java Native Interface) to get through the Windows Registry.
But I have this module I can't get ...
3
votes
1answer
81 views
Strip path segment while extracting using 7zip?
Is there a way to extract a 7z archive that contains all it's files within a directory without creating this directory in the file system but still keeping the sub-directory structure of the archive ...
1
vote
1answer
41 views
Accessing external HDD on different computers with the same path
I have a external HDD and have a folder in it called icons which stores all the custom icons (yes, I'm nostalgiac!) for the different folders on my drive. But when I open my hard-drive on a different ...
0
votes
1answer
31 views
User Path not included by default in the command prompt Path
Windows XP used to set the environment variable Path of a command prompt to <system_PATH><user_PATH>. Perhaps after a software installation, its behavior changed to picking up ...
0
votes
1answer
90 views
How to create .profile file and where it should be saved
Iam very new to Mac OS X 10.6.2 ,i want to create java_home and path. I find that those will be defined in .profile file, how can i create it and where should it be created.
1
vote
1answer
41 views
Get part of script run directory in bash
I'm running a Bash script that's buried in a directory on my system. I need to be able to get the first section of the directory path.
The path returned by $0 in my script is as below. The ...
3
votes
1answer
54 views
How to use unison's path option with multiple paths?
I want to sync the following locations using unison:
/home/user/Audiobooks with /shared/Audiobooks
/home/user/Music with /shared/Music
/home/user/Podcasts with /shared/Podcasts
What would the ...
1
vote
1answer
51 views
Windows XP having problems with Unicode symbols in user profile names
One person sent me a PC for some maintenance (physical and software cleaning etc.). I noticed one issue. It has Windows XP Pro with SP2
His name is Jānis (this Latvian name is the same as John in ...
1
vote
0answers
78 views
Windows 7 - extending path variable by another entry leads to failure
I experience a very strange problem. I have the following path variable.
%SystemRoot%\system32\WindowsPowerShell\v1.0\;C:\Python27\;C:\Python27\Scripts;C:\Program Files\Common Files\Microsoft ...
1
vote
5answers
82 views
Setting Path in Windows
If I were to execute all executables in Windows in cmd, does that mean I need to add all folders containing executables to PATH? Coming from Linux, this seems like a huge hassle. Is there any way to ...
1
vote
2answers
58 views
Modify PATH variable for X11 during log-in
I am working on some lab computers (read: no administrative rights) that, if I log in, I need to change the PATH variable as X11 starts. The reason is that I need to change the PATH variable at this ...
0
votes
1answer
95 views
How do I execute my script by just typing its name?
I have a script in /home/username/scripts and I would like to execute it by just typing its name.
I know I could do 'export PATH=$PATH:/home/username/scripts' but I would like to have the same ...
2
votes
3answers
143 views
how to remove path of my command line?
When I start to enter in different folder the path is registered in my command line and I don't know how to remove it.
I am almost sure my question wasn't clear. An example is always better.
Once in ...
1
vote
2answers
296 views
Environment variables in bash_profile or bashrc?
I have found this question [blog]: Difference between .bashrc and .bash_profile very useful but after seeing the most voted answer (very good by the way) I have further questions. Towards the end of ...
1
vote
3answers
184 views
Trouble setting up PATH for Java on Debian
I am trying to get Oracle Java 7 update 3 working correctly on Debian 6. I have downloaded and set up the files in /usr/java/jre1.7.0_03. I have also set the following two lines at the end of ...
1
vote
1answer
121 views
PATH doesn't work on Windows 8 RC x64
...or I just don't know how to make it work :)
You can see the folder IS in the path variable, hower I can't execute hg, which is inside the folder.
What's going on?
0
votes
1answer
108 views
Changing Java from OpenJDK to SunJava
I want to change OpenJDK to SunJava in my ubuntu linux desktop , i have downloaded the "jdk-7.tar.gz" from sun's website, but there problem is how to make the system to use the newly downloaded java ? ...
0
votes
0answers
144 views
Illustrator SVG how can I use only absolute coordinates
I cant anywhere find how to set in Illustrator that I want to use SVG in ONLY ABSOLUTE coordinates. I found a lot of stuff about Inkscape as easy as this:
Change the preferences for 'SVG Output > ...
0
votes
2answers
244 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 ...
0
votes
0answers
30 views
I had my PATH carefully set on windows and a application erased it… how to recover? [closed]
Possible Duplicate:
Restoring Windows XP PATH variable
I have my path very carefully set (right java path, mercurial, git, subversion, gcc) on Windows 7. Then one day I found it was erased ...
0
votes
1answer
93 views
Ubuntu 11.10 starts in a strange mode
I removed Maven2 from my computer and tried installing Maven3. While doing this I added a few things to the /etc/environment file, as instructed by the Maven guys. Anyway, after a few successful ...
1
vote
1answer
91 views
Batch search and replace file path
So I've got lots of m3u playlists created on my Windows machine inside a folder with file paths to tracks as:
D:\path-of-mp3
So first I want to replace all the \ with / and then D: with ...
3
votes
3answers
171 views
Are world-readable/writable/executable links in /usr/bin security holes?
% ls -l /usr/bin/edit
lrwxrwxrwx 1 root root 3 Jan 10 05:54 /usr/bin/edit -> vim*
This seems to ...
0
votes
4answers
175 views
Can't add executable file to PATH in Linux
I have this in my ~/.bash_profile:
PATH=$PATH:~/Downloads/sublimetext
export PATH
But sublimetext in the folder isn't added to the path. Sublime Text gives this output when submitted to the ...
1
vote
2answers
92 views
Linux: Specifying top level-directory when creating zip archive
I have project with the usual directory structure (src/, bin/, ...), i.e
project-name/
|-- bin
|-- lib
|-- src
`-- Makefile
And would like to create an archive with the following directory ...
1
vote
1answer
96 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 ...
1
vote
1answer
62 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!
2
votes
1answer
150 views
export PATH= not holding in Bash OS X
This is somewhat of a noob question but I'm having problems adding to my path and can't remember how I got changes working the last time I did it.
So I'm using the command "export ...
2
votes
2answers
89 views
In which places is the Windows %PATH% defined? [closed]
Possible Duplicate:
What are PATH and other environment variables, and how can I set or use them?
I ran a third-party install script which added its folders to the %PATH% variable in the ...
0
votes
0answers
81 views
Path Variables Inconsistent in Control Panel vs cmd.exe
First is what the Environment Variables window under System Properties tells me is under "Path".
When I do echo %PATH% on cmd.exe I get the second. All my node.js install isn't working :\
...
0
votes
1answer
77 views
issue with my path variable
my path variable seems to be a bit hosed. I recently modified my /etc/profile to add GRAILS_HOME and modify JAVA_HOME. the problem now (moved off of grails to lift for the time being) is that there is ...
0
votes
1answer
64 views
How to make for /f deal with space in the file path?
The command for /f %%f in (c:\path\list.txt) do echo %%f gets confused if path contains spaces.
Typically, I'd just put quotes around the path (in ("c:\path with spaces\list.txt") do), but in this ...
2
votes
0answers
125 views
How can I move the database location of Evernote successfully?
I am currently on Evernote 4.5.x and lost quite some data because I didn't notice that the crashing Evernote deleted recently created notes due to space limitations in my TC container.
I am not happy.
...
1
vote
1answer
65 views
How do I create a command to run with sudo?
I have created a file called svrestart in /home/gab/bin (which is a folder that should be automatically be added to path on startup) which contains:
/etc/init.d/nginx restart
/etc/init.d/php5-fpm ...
4
votes
1answer
183 views
Linux: which is “most appropriate” directory to place an exectuable for all users?
A bit of newb question.. I usually install packages and don't worry about these things.
But, now I have a one file executable CLI program (Kindlegen from Amazon). I want it to be in the path of all ...
1
vote
0answers
62 views
Prevent Windows System %PATH% from being prepended to user %PATH?
I know how to set system or user specific environment variables:
Now, the problem is that the PATH variable is treated such that the value you enter for the user PATH will be automatically appended ...
1
vote
0answers
71 views
Why my $PATH is not inhereted by the invocked bash? [closed]
I work on an AIX system where I have no administrator privileges. It has several shells installed, default being tcsh. I am not allowed to change the login shell. Usualy I start my session from exec ...
0
votes
1answer
35 views
How to add a directory not on C:\ to the PATH variable
I have recently installed Python in D:\Python32 and added that directory to my PATH variable, but it doesn't seem to work. Does PATH only work with C:\ ?
OS is Win XP Pro 64
2
votes
1answer
68 views
Too many folder paths in Path Variable?
Is there a cost of having too many folder paths in the folder variable? I mean as you keep on adding paths in to your System Path Environment variable, Is it going to cause Powershell to load slightly ...
1
vote
1answer
66 views
What does Eclipse/Java call your homedir? Since ~ and $HOME does not work
When you install Eclipse he always ask me where to put the workspace and here I noticed that Eclipse do not understand normal unix stuff like ~ or $HOME.
What does Eclipse/Java call your homedir?
...