I've generated a batch file that's a long list of ren "x.jpg" "y.jpg"
type commands.
I'd like to have all of the results outputted to a .txt file, but when I've tried to cmd rename.bat > output.txt
or rename.bat >> output.txt
, it only prints the command performed and not if there was an error in finding file, which instead shows in the cmd window.
How can I have all of it put into the .txt file?