Re: how does windows find java.exe?
- From: yf110@xxxxxxxxxxxxxxxxxxx (Malcolm Dew-Jones)
- Date: 26 Jun 2007 14:22:42 -0800
Roedy Green (see_website@xxxxxxxxxxxxxxxxxxxx) wrote:
: There is a way of putting any file no matter where it is, on the path
: by creating a registry entry. See
: http://mindprod.com/jgloss/registry.html
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths
but I don't think that is quite the same putting it on the path.
The registry entry makes them visible to the START command, as in
C:> START program-not-in-PATH-but-is-in-REGISTRY.exe
But if you simply type the name of a command as in
C:> PROGRAM.exe
then it must be either in the current directory or in a directory listed
in the PATH environment variable. (Though some entries in the registry do
control which directories are listed in each user's PATH variable.)
$0.10
.
- Follow-Ups:
- Re: how does windows find java.exe?
- From: Roedy Green
- Re: how does windows find java.exe?
- References:
- how does windows find java.exe?
- From: Martin
- Re: how does windows find java.exe?
- From: Roedy Green
- how does windows find java.exe?
- Prev by Date: Newbie: -classpath option of java does not load the content of the jar file
- Next by Date: Re: Newbie: -classpath option of java does not load the content of the jar file
- Previous by thread: Re: how does windows find java.exe?
- Next by thread: Re: how does windows find java.exe?
- Index(es):
Relevant Pages
|