That works with complete pathtofile and the name of the file.
But at the next opportunity you may explain to me why you have two different programs to build an iso. Veeam.EndPoint.RecoveryMedia.exe /createiso still does the job well.
Veeam.EndPoint.RecoveryMedia.exe /createiso command has some issues (like mentioned above) and we no longer recommend using it. However, we wanted to make sure that customers with existing scripts wont be affected by this change, so it was decided to keep old command line for now and drop it in the next version. Thanks!