Search found 2 matches
- 30 Oct 2016 13:06
- Forum: DOS Batch Forum
- Topic: How to write given Text into a xml file?
- Replies: 2
- Views: 2527
Re: How to write given Text into a xml file?
The reason is that the lower-than and greater-than characters ('<', '>') are special characters which that you can redirect the output to a file: >"test.txt" echo Hello "text.txt"! The solution is easy. You have noticed the circumflex accent character ('^') is an escape characte...
- 27 Oct 2016 14:08
- Forum: DOS Batch Forum
- Topic: How to write given Text into a xml file?
- Replies: 2
- Views: 2527
How to write given Text into a xml file?
Hello Guys, i need some help with this line in my code: echo <text>text:\text\</text> > file.xml Like that it simply gives error. echo ^<text>text:\text\</text>^ > file.xml This does almost work, but now it tells me, that it cant find the selected path and i dont know how to fix that. I need this fo...