I am trying to update some text files from a folder that this script is in to another PC in the same network. I have checked username and password, but the script does not work. On the destination PC side, windows firewall is disabled.
net use * /DELETE
net use \\10.14.70.10\c$\backup 1 /USER:Administrator
copy /V /Y export_to_agv \\10.14.70.10\c$\backup\export_to_agv
net use \\10.14.70.10\c$\backup /DELETE