> cmd /A ... output of internal commands to a pipe or file to be ANSI
i dont think i understand how it works ....to a pipe or a file. it sounds like it can make an ANSI txt file output.
method 1 (claiming cmd 1st in a hope that in that line thereafter, all will be ANSI)
cmd /a /c
SET ZLS=DD.ZLS
ECHO T="%1">%ZLS%
it didnt work
---------------
method 2
SET ZLS=DD.ZLS
cmd /a /c "ECHO T="%1">%ZLS%"
it didnt work
---------------
method 3
SET ZLS=DD.ZLS
cmd /a /c ECHO "T="%1"" & > & "%ZLS%"
it didnt work
---------------
method 4
SET ZLS=DD.ZLS
cmd /a /c ECHO ""T="%1"" & > & "%ZLS%""
it didnt work
---------------
method 5
SET ZLS=DD.ZLS
cmd /a /c ECHO "T="%1">%ZLS%""
it didnt work
---------------
i think method 1 to 5 is "to a file as to what this > symbol can do"
is it possible to do this with a pipe command "|"?
unfortunately there arent any expamples in the internet i could find, regarding cmd /a