Hi Pro's/Expert bro,
I have few PC's with shared folder that contain some data.
lets say i have 3 pc's IP address as below :
\\10.10.10.10
\\10.10.10.11
\\10.10.10.12
-----------------------------
\\10.10.10.10\Shared\Data\log2 <-- Need to extract this data
\\10.10.10.11\Shared\Data\log2 <-- Need to extract this data
\\10.10.10.12\Shared\Data\log2 <-- Need to extract this data
Is there a way to write script to extract data form those PC's ?
Thanks in advance.
Copy data from multiple pC
Moderator: DosItHelp
Re: Copy data from multiple pC
Try this:
Code: Select all
@echo off
copy /b "\\10.10.10.10\Shared\Data\log2" "c:\folder\10.10.10.10.log2"
copy /b "\\10.10.10.11\Shared\Data\log2" "c:\folder\10.10.10.11.log2"
copy /b "\\10.10.10.12\Shared\Data\log2" "c:\folder\10.10.10.12.log2"
-
- Posts: 2
- Joined: 07 Jul 2012 04:28
Re: Copy data from multiple pC
hi foxidrive,
thanks a lot. it works.
thanks a lot. it works.