Command task fully supports 'D' cmd

Also untested code for 'S' and 'P' cmds