Our company has more than 70 computers and has recently been tortured by ARP spoofing - type software. I made a batch script for IP and MAC binding ("Static MAC Automatic Binding.bat"). I have done the binding at the gateway. Now I want to make another batch script to remotely copy the "Static MAC Automatic Binding.bat" to the startup directory of all client computers. I know the administrator passwords of all client computers, but when copying remotely, I can only copy it to C: using the batch script.
net use \\192.168.0.50 /user:administrator 123456
copy 静态mac自动绑定.bat \\192.168.0.50\ c$
When running
copy 静态mac自动绑定.bat \\192.168.0.50 \%ALLUSERSPROFILE%\「开始」菜单\程序\启动
It will report an error, "The command syntax is incorrect". Asking all the experts, how should this batch script be written? Thank you all.
net use \\192.168.0.50 /user:administrator 123456
copy 静态mac自动绑定.bat \\192.168.0.50\ c$
When running
copy 静态mac自动绑定.bat \\192.168.0.50 \%ALLUSERSPROFILE%\「开始」菜单\程序\启动
It will report an error, "The command syntax is incorrect". Asking all the experts, how should this batch script be written? Thank you all.

