How can i write batch file that stores result in a file in just one line? I want these 3 commands to write in new file ex. txt.txt in first line.
dir /b *.xml > txt.txt
echo 2 2 >> txt.txt
dir >> txt.txt
I want result to be in txt.txt file like this:
*.xml 2 2 dir