Well, as I explained in this post…
the com2tcp.exe file is created, if it doesn’t already exist, by re-naming the com2tcp.bin file. For this to work, the com2tcp.bin file needs to exist in the same folder as the script batch file that is being executed.
In addition, the user executing the batch file needs to have permissions to create executables in that folder, which may require the batch file to be ‘run as administrator’ by right-clicking on it.
BTW, why are you still using this horrible serial batch file method rather than a NodeMCU with wifi manager?
Pete.