That's right! I find it out after a couple of hours on trying. The key was, to create a temporary text file, copy into the code line, rename the file to .bat, execute it, and delete it after execution. Checking the file content leaded me to solve why didn't worked the code in the first place. Modifying the line in case in the program was the best option, and now it's working perfectly.
Thank you, Ulrich, this is the right code.
Best regards!
Thank you, Ulrich, this is the right code.
Best regards!
Comment