Rem prepend a.txt onto the front of b.txt Rem THIS IS ILLEGAL! The command processor is not smart enough to create an intermediate file. copy a.txt + b.txt b.txt Rem you can get the effect this way: copy a.txt + b.txt temp.txt del b.txt rename temp.txt b.txt