I know this has come up before but what is the best way to remove lines 5-10 and lines 16-20 from a file using the console and a batch file? Lance