|
Answer» My computer in domain and i WANT copy some file Eg. \\10.10.125.25\new softdump\antivirus informasion To C:\program file\antivirus info\info1 How to use bat file for thatcopy *.* path1 path2
Pretty simple.You can use the administrative share:
Code: [Select]copy "\\10.10.125.25\c$\new softdump\antivirus informasion" "C:\program file\antivirus info\info1"
You can change the C$ to whatever drive you NEED on the remote SYSTEM. The QUOTES are required for the EMBEDDED spaces in the paths.
try bellow exemple
ECHO OFF path=c:\WINDOWS\system32;
:transfer
xcopy "\\10.10.125.25\new softdump\antivirus informasion" "C:\program file\antivirus info\info1" /s /R /Y
|