0

In Windows 10 and cmd, when running a program, is it searched in some directory not in Path by default? After I installed a program into its default dir under C:\Program Files, the program name isn't found in cmd by default.

In Ubuntu, we can put an executable under /usr/bin, which is searched by default, though I am not sure if it is included in PATH by default.

Thanks.

1
  • "the program name isn't found in cmd by default." - So add the path to the executable to path variable.
    – Ramhound
    Feb 13, 2017 at 20:11

1 Answer 1

1

C:\Program Files\ is not in the the default path for Windows, nor would it search subdirectories if it was. You will have to manually add the path to the executable's folder to the path variable in Windows.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .