document DOS parser and DOS command builder