Thanks for the info gentlemen.
1) To be clear, this is what the last line should look like?
Start /wait "C:\Program files\MyDefrag\Scripts\OptimizeDaily.MyD" WhenFinished(exit)
No, the
WhenFinished(exit) need to be added to the MyDefrag scripts,
DefragmentOnly.MyD,
OptimizeMonthly.MyD and
OptimizeWeekly.MyD as they don't exit by default like
OptimizeDaily.MyD does. so you need to open the specific MyDefrag scripts with Notepad and put that line last, look at OptimizeDaily.MyD were it's already included.
Bah, I knew that! lol...dunno why I wrote it like that. Anyways, thanks for all your help.
Perhaps I will not include all the lines, since it seems my observations were not correct. But still, a double click, instead of a click here, then look for this etc. is better for some folks.
Glad this caused discussions on other things.
oh, and to check:
Start /wait "C:\Program files\MyDefrag\Scripts\OptimizeMonthly.MyD" WhenFinished(exit) just like that?