Hi all,

I have a taxt file (with .DAT extension) which is created as an output of a script. I run this within a DTS package and I follow this by running the following command:

EXEC master..xp_cmdshell 'echo ^<EOF^>>> C:\Output.DAT', NO_OUTPUT
I do this to insert <EOF> at the end of the text. What I wanted to know was how I can remove the blank line after the <EOF> which I insert above. I have played around with the output but require nothing to be after <EOF>. Any ideas.