I have made a batch script template that I can program to select a given target, but I would like the script to also throw a custom error dialog if the target is not already present on the end-users machine.
Here's my current script:
set targetfilepath=%TARGETPATH% %SYSTEMROOT%\explorer.exe /select, "%TARGETFILEPATH%"
Could I incorporate this into my script? If so, where should I place it?:
IF NOT EXIST goto net send localhost "%MESSAGETXT%"