I have a very simple startup task commandline "cmd /c echo Hello world from the Batch Hello world sample!"
it keeps on running into error , what am i doing wrong ? I am using MicrosoftWindowsServer WindowsServer 2016-Datacenter-smalldisk (latest) image for my windows
It appears that you have quoted the entire CommandLine. Instead, you should quote the command portion only:
cmd.exe /c "echo Hello world from the Batch Hello world sample!"