I don't understand the question?Having some difficulty following the logic. Where do the tools like command.bat have to reside? In the root directory of the PC? Thanks.
Just extract the zip file, .bat files are fine how they are.
Then you need to extract your cameras firmware.bin into the root folder so you have the .img files in the root folder.
Running Commands.bat reads the commands.txt and generates the upgrade_info.txt file which is then placed in the root folder.