Why is this background render/script for the command line not working?
You haven't given the command to render the animation, which is -a. The command line isn't just for rendering, so unless you explicitly tell blender you want to render, it won't.

Your first command should look like this:

blender -b C:\pathtofile\ANIMATION.blend -o C:\pathtofile\renders\ -x -a