1.

Solve : Embedded File Emergency!?

Answer»

[glb][/glb]
I am TRYING to 'embed' a text file with several LINES in a DOS batch file so that it can 'extract' it.
I've tried
[glb]ECHO This is a test>C:\TEXT.TXT[/glb][glb]ECHO Things and Stuff>C:\TEXT.TXT[/glb]
And when I open the [glb]C:\TEXT.TXT[/glb] file, it contains this:
[glb]Things and Stuff[/glb]
Can you help me figure out how I can get the file to read this?:
[glb]This is a test[/glb][glb]Things and Stuff[/glb]Not sure if this is what you want or if it will work but try

ECHO This is a test >C:\TEXT.TXT
ECHO Things and Stuff >>C:\TEXT.TXT

(Note the two >> on the second line)

GOOD luck

Quote

Not sure if this is what you want or if it will work but try

ECHO This is a test >C:\TEXT.TXT
ECHO Things and Stuff >>C:\TEXT.TXT

(Note the two >> on the second line)

Good luck



Thank you very much. I knew there would be a way for entering multiple lines of text!

[glb]MAY GOD BLESS YOU VERY MUCH![/glb]


Discussion

No Comment Found