[PATCH 1/3] programs/cmd: introduce struct batch_file to hold information about a .cmd file