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!?!
Thu, 2015-04-23 23:45
#1
How check if a DOS command exists?
Author of the PortablE programming language. I love using Amiga OS4.1 on my X1000 & Sam440 :-D
Author of the PortablE programming language. I love using Amiga OS4.1 on my X1000 & Sam440 :-D
Author of the PortablE programming language. I love using Amiga OS4.1 on my X1000 & Sam440 :-D
Author of the PortablE programming language. I love using Amiga OS4.1 on my X1000 & Sam440 :-D
Author of the PortablE programming language. I love using Amiga OS4.1 on my X1000 & Sam440 :-D
Author of the PortablE programming language. I love using Amiga OS4.1 on my X1000 & Sam440 :-D
Author of the PortablE programming language. I love using Amiga OS4.1 on my X1000 & Sam440 :-D