I'm using a tool to generate a C# code file and am using the ECHO command to do it. I need need to write this line to the output file:
//<autogenerated>
but I keep getting a syntax error message. I tried this:
"//<autogenerated>"
but the quotes are retained in the output file.
This is an example of what I need:
cmd.exe /C echo //<autogenerated> > out.txt
to generate the file, out.txt that contains this single line:
//<autogenerated>
What am I doing wrong here? Is there a way to escape the special characters?
//<autogenerated>
but I keep getting a syntax error message. I tried this:
"//<autogenerated>"
but the quotes are retained in the output file.
This is an example of what I need:
cmd.exe /C echo //<autogenerated> > out.txt
to generate the file, out.txt that contains this single line:
//<autogenerated>
What am I doing wrong here? Is there a way to escape the special characters?