How would I validate that a program exists, in a way that will either return an error and exit, or continue with the script?
It seems like it should be easy, but it's been stumping me.
Posted 15 June 2023 - 05:55 AM
How would I validate that a program exists, in a way that will either return an error and exit, or continue with the script?
It seems like it should be easy, but it's been stumping me.
Posted 15 June 2023 - 06:19 AM
Sorry you are looking for Bash not Batch!
Edited by SleepyDude, 17 June 2023 - 09:38 AM.
• Please do not PM me asking for support. Post on the forums instead it will increases the chances of getting help for your problem by one of us.
• Posts in the Malware section that are not replied to within 4 days will be closed. PM me or a moderator to reactivate.
• Please post your final results, good or bad. We like to know! Thank you!
Proud graduate of GeekU and member of UNITE
___
Rui
Posted 16 June 2023 - 05:48 PM
How would I validate that a program exists, in a way that will either return an error and exit, or continue with the script?
It seems like it should be easy, but it's been stumping me.
Edited by pSYCHOtRAIL, 16 June 2023 - 05:51 PM.
0 members, 1 guests, 0 anonymous users