I would like to create a bat. file on my computer who is connected to another computer using nothing but a switch, there is no server. the remote desktop has a static ip a username and a password which are known to me.
I saw and used this code in the bat. file on my computer:
net use "\172.17.0.27" typePassword /user:domain\typeUsername
XCOPY "\172.17.0.27\C$\Reports\" "C:\Trades_Backup" /y /d
it did not work did not copy any files