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)
  • Re: Get command line of a running process (local/remotely)?
    ... can call the StartService API and specify a different command line. ... The Registry entry is ... Yes in an ideal world I would ask the service what the true/real command line is but I might only be able to add this in future releases of our services. ...
    (microsoft.public.vc.mfc)
  • Re: CE player in fullscreen mood
    ... The only command line parameter that I see being processed is the filename ... Opening CEPlayer in full screen ... It is not playing in fullscreen. ...
    (microsoft.public.windowsce.platbuilder)
  • 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)