ignore the > in echo?
Posted: 31 Mar 2010 07:17
hi do anyone know how to ignore the > in echo?
for example i am creating a simple bat checklist made from master bat show like below:
echo @echo off > checklist.bat
echo cd "c:\reports\received\" >> checklist.bat
echo dir /s /b *.doc "c:\user\desktop\" > received_list.txt >> checklist.bat
from the above, the color, bold, undrline " > "
can't be echo since it is a redirection command..
is there a way to ignore the > & insert in the echo?
thanks!
for example i am creating a simple bat checklist made from master bat show like below:
echo @echo off > checklist.bat
echo cd "c:\reports\received\" >> checklist.bat
echo dir /s /b *.doc "c:\user\desktop\" > received_list.txt >> checklist.bat
from the above, the color, bold, undrline " > "
can't be echo since it is a redirection command..
is there a way to ignore the > & insert in the echo?
thanks!