CMD source code