Hello there,
I'm from the days of MS-Dos and batch files, and ahve been a software engineer targetting Windows and MS-DOS for 25 years now.
Your choice of batch files may not be wise, as you may be better off using PowerShell scripts, or a C++ program?
Anyway, if I can be of assistance, let me knpw