What do you want to know ? A .bat or .cmd file is a file that contains lines of DOS-like commands. It's like a shell script in *nix.