windows batch: react to command not found
- by clamp
hello,
i want to write a simple batch script, that calls a certain exe, but if this one is not found, it should call another exe.
so in pseudocode
set file=c:\path\tool.exe
if(fileexists(file))
{
call file
}
else
{
call c:\somethingelse.exe
}
thanks!