Add a header/footer to a file

February 22, 2016 at 09:59:29
Specs: Windows 7
I have a file that I would like to add a header/footer to but it is blanking out my file when the headers are added.

@echo off
cls
setlocal

:: Adds Header Line To Existing XML file

echo O*N05TGxxxxx ,CLS=CRAA16OP,XXX,BAT=,>craa16op.059

type craa16op.59


See More: Add a header/footer to a file

Report •

#1
February 23, 2016 at 00:44:23
Can you open the XML file in Internet Explorer (IE11)?
In the print-preview, headers and footers can be set or modified

Report •

#2
February 23, 2016 at 06:11:21
Yes I can open the XML with IE but the only thing that is appearing is the Headers - not my actually body of the file. I just wanted to add a header (and later a footer when I figure that out) to the file but keep the rest of the data intact.

Report •
Related Solutions


Ask Question