Discovering the path of a command line tool

I want to be able to locate a command line tool in Windows. In Linux/Mac, I’d use something like bash -lc 'which tool'. What’s the equivalent in Windows?

where ?

Thanks, that’s half of what I needed.

How do I get the Xojo Shell to load the PATH the way the terminal would?

You’d set the PATH trough Shell.Execute or request System.EnvironmentVariable(“PATH”) and assign that to the PATH in the shell trough .Execute

Thanks for that, it made my look and now I see the problem isn’t what I thought it was.

The PATH did not have what I was looking for, but restarting Windows (or perhaps, just restarting the remote debugger) fixed it.

Thanks for the help.

1 Like