Yogesh has it right. You did not run backup_xmlinfo in a Teamcenter command window. Your environment is not set. To run in a normal command window you'll need to:
set TC_ROOT=<path_to_tcroot> set TC_DATA=<path_to_tcdata> call %TC_DATA%\tc_profilevars.bat
Note: Its better to use a mapped drive than a UNC path for TC_DATA. Batch scripts don't like UNC paths.
Next, validate that your environment is set correctly...
Note: You should see a bunch of Teamcenter environment variables listed.
Then you can run a Teamcenter utility.
NX 11.0.1.mp01 | SW 2016 | TcUA 11.2.3