There are a batch of machines in the unit. There is an IPMAC.txt file in the IP folder of the C drive of each machine. Every day after work, all machines send the IPMAC.txt file to the host at 6:00 on time for verification. Now I want to rename the received IPMAC.txt files before sending them, otherwise the host will only receive one file. The requirement for renaming is IPMAC.txt → IPMAC(MAC physical address of the network card).txt, and then send IPMAC(MAC physical address of the network card).txt to the host. I will write the sending part with a batch file, but I don't know how to use P to write the renaming part. Please ask the experts for guidance.
