echo-ing nothing...

  • Thread starter Thread starter Christos Kritikos
  • Start date Start date
C

Christos Kritikos

hello. I am using 'echo' in a bat file in order to
generate a log file (ie echo "I am now doing blah" >>
mylog.log). I am trying to add a few new-lines in there
to make things a bit more readable. I tried [echo] (it
says echo is on) and [echo " "] (it prints the quotes as
well) and also [echo \ ] (it prints a backslash). Any
ideas how to do this? Maybe echo is not the answer??

thanks
christos
 
Christos said:
hello. I am using 'echo' in a bat file in order to
generate a log file (ie echo "I am now doing blah" >>
mylog.log). I am trying to add a few new-lines in there
to make things a bit more readable. I tried [echo] (it
says echo is on) and [echo " "] (it prints the quotes as
well) and also [echo \ ] (it prints a backslash). Any
ideas how to do this? Maybe echo is not the answer??

thanks
christos


echo/>>mylog.log
 
You go Phil. I had no idea you could do that. Thanks! :o)

joe

--
Joe Richards Microsoft MVP Windows Server Directory Services
www.joeware.net



Phil said:
Christos said:
hello. I am using 'echo' in a bat file in order to generate a log file
(ie echo "I am now doing blah" >> mylog.log). I am trying to add a few
new-lines in there to make things a bit more readable. I tried [echo]
(it says echo is on) and [echo " "] (it prints the quotes as well) and
also [echo \ ] (it prints a backslash). Any ideas how to do this?
Maybe echo is not the answer??

thanks
christos


echo/>>mylog.log
 
Back
Top