I am using a bat script to try to write multiple lines to a text file. However, in one case, the character is discarded, which I want to write.
Here is the code:
@echo off
@echo san policy=onlineall> test.txt
@echo select disk 1>> test.txt
@echo online disk>> test.txt
Here is the resulting text file (test.txt)
san policy=onlineall
select disk
online disk
Why is the "1" missing in the resulting code?
source
share