Is there an easy way to check that an AmigaDOS command exists? In my particular case, I wish to check that "Curl" exists in the command path, so that I can check before hand if executing "Run >NIL: Curl ..." should work or not (and if not then warn the user it is missing).
I canNOT just try to Lock() the command's name, because AmigaDOS will search the command path, but Lock() will not!
I just tried using LoadSeg(), but that doesn't seem to search the command path either.
Please don't tell me I need to get the AmigaDOS command path (somehow!) & search it myself!?!