Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • Ahh, now that makes absolute sense. thank you :) Is there any way to access this windows registry to circumvent the need of adding the java installation to the PATH environment variable? Commented Jan 12, 2022 at 19:29
  • 1
    @Alrick, any solution involving the registry will only be far harder and time consuming for you. The command line is not designed to search the registry when executing programs so you would need to do it explicitly. You can manually query the registry to find out what executable gets used, but that just makes things more complicated for you. You can run assoc some_file.extension to get the program name associated with a given extension. Then you can run ftype "the program" to get the executable path formatting string that the file to open can be placed into and executed. Commented Jan 12, 2022 at 19:45
  • perfect! thank you very much for your expertise and your time Commented Jan 12, 2022 at 19:51