This will probably not be of interest to many.
As part of the batch file, I currently use, I have lines that say
rem note || means if the first thing fails, do the second.
tasklist| findstr "msmoney.exe"||goto startMoney
goto moneyRunning
:startMoney
::added "" to start command !!!!!!!###########
echo Starting Money %date% %time% %cd% >>PS_dev.log
start "" /D "C:\Program Files (x86)\Microsoft Money Plus\MNYCoreFiles" msmoney.exe
echo Started Money %date% %time% %cd% >>PS_dev.log
echo tasklist| findstr "msmoney.exe"
Tasklist occurs twice. The first reference is an alternative to testing for the existence to the *.lrd file. The existence in tasklist is a little better. But tasklist has turned SLOW in my Windows 11. I did a test, and it took about 5 minutes. In my Windows 7, it is very fast.
To benchmark, I made a batch file that had just these lines:
echo %time%
tasklist >>temp.txt
echo %time%
Searching for tasklist slow, I find hits, but no bias toward recent stuff.
My current batchfile still works-- just much slower than it was a week or two ago.
Anyway, just thought this might be of interest to somebody. Also this may give somebody ideas for a batch file.