I have a main batch prog running. Its supposed to echo something to another file, which works well until i come to this line:
echo echo File %file% doesnt exist >> error.log >>list.bat
I want list.bat to contain:
echo File %file% doesnt exist>>error.log
Now, i get that its not possible to use >> 2times, as only the last one will work.
So, what other way can this be done?
Ive tried sending this to list.bat:
"File %file% doesnt exist >> error.log"
and then removing the quotes with parsing, but that didnt work very well. It leaves out >>error.log whatever i try..
Hope anyone have any tips:)