.bat file does not start at the end of the process

Thanks!

Now everything is working. The file is saved to a Dropbox folder, the folder is synchronized with the online repository Dropbox. I configured the applet IFTTT to send me a notification to my phone when a new file appears in the Dropbox folder.

Maybe there is a shorter way?