I suggest to use a batch code which really searches first for the application to start before starting it.
@echo off
rem The program files folder exists on all Windows.
for /R "%ProgramFiles%" %%I in (myapp*.exe) do (
start "" "%%I"
goto :EOF
)
rem The x86 program files folder exists only on all Windows x64.
if not "%ProgramFiles(x86)%" == "" (
for /R "%ProgramFiles(x86)%" %%I in (myapp*.exe) do (
start "" "%%I"
goto :EOF
)
)
echo Can't find myapp.exe in any program files folder.
echo.
pause
But if the application is installed with adding its executable name as key to
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\App Paths
or to
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths
the command start would find the application to start by itself on specifying just myapp.exe. See the answers on Where is “START” searching for executables? and How to enumerate all programs that can open XML file as plain text? for more details.