...that is listed in the PATH under Enviroment Variables?
Currently I'm using _spawnl, but that requires a full path to the ".exe" file.
Thanks!
Printable View
...that is listed in the PATH under Enviroment Variables?
Currently I'm using _spawnl, but that requires a full path to the ".exe" file.
Thanks!
You could use SearchPath(...) to retrieve the full path of the executable. It searches whatever is in the PATH variable last, so there may be a problem if the executable exists in more than one directory.