I know how ^ is used, but I ran into a problem when I used it. With this line, echo echo 1 ^>1.txt >>2.bat, what shows up in 2.bat is echo 1 >1.txt But with this line, echo 1 ^>>1.txt >>2.bat, what shows up in 2.bat is actually echo 1 > I don't know why replacing > with >> makes it stop working. I searched the forum and didn't find any good answer, so I'd appreciate it if an expert could point it out.
