Re: how does windows find java.exe?



On 26 Jun 2007 14:22:42 -0800, yf110@xxxxxxxxxxxxxxxxxxx (Malcolm
Dew-Jones) wrote, quoted or indirectly quoted someone who said :

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.

IIRC I have added programs to the App Paths and then I can invoke them
with just xxxx on the command line in 4NT. Don't recall about
xxxx.exe.
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
.



Relevant Pages

  • Re: how does windows find java.exe?
    ... : Dew-Jones) wrote, quoted or indirectly quoted someone who said: ... :>The registry entry makes them visible to the START command, ... (Though some entries in the registry do ...
    (comp.lang.java.help)
  • Solved: unrecognized external command error in command window
    ... Error in command window: ... it as the cause (the correct registry entry for Path was restored), ... The data type of the Path varible is REG_EXPAND_SZ, ...
    (microsoft.public.windowsxp.general)
  • Acc2000 on Win2000: SendObject Error
    ... the Send To command in the File menu, ... to delete a registry entry that was not there. ... entry that exists for Word and Excel that somehow was corrupted in Access; ...
    (microsoft.public.office.setup)
  • Acc2000 on Win2000: SendObject error
    ... the Send To command in the File menu, ... to delete a registry entry that was not there. ... entry that exists for Word and Excel that somehow was corrupted in Access; ...
    (microsoft.public.outlook.general)
  • Re: Start application with paramstring - question
    ... >don't work with files in maps with a whitespace in it, ... The registry entry under your App type should look like: ... Also you can get the entire command line directly instead of using the ...
    (alt.comp.lang.borland-delphi)