DOS XCOPY and Networking Question

G

Guest

Hi,

I have a DOS xcopy syntax question, and the scenario is the following:

There is one central PC and 2 additional PCs all linked with standard ms
networking with DHCP routing. All the PCs are on the same workgroup, and
there is no domain server.

The goal is to create a series of xcopy commands to go and pull down
specific directories from the 2 additional PCs onto the central PC.

So I did 2 drive mappings to the additional PCs, K: and L:
There are several folders in K: that I want to pull to the central PC and
only one folder in L:
All the appropriate file sharing is set, so that I can see everyone from the
Central PC.
The central PC is XP Pro, one of the additional PCs is XP and the remaining
with multiple folders to grab is Win98se.

I tried a syntax like the following, but it doesn't work: (this is to place
the files from the Win98se PC onto the central PC from which the script will
be run...)

xcopy "K:\My Documents\*.*" "C:\Kathy's Backups\_Kathe Docs" E/I/Q/H/R/Y

Can anyone help with the proper syntax to grab these files from the K: PC?

Thank you for any help out there!!!

-George
 
M

Michael W. Ryder

GeorgeB said:
Hi,

I have a DOS xcopy syntax question, and the scenario is the following:

There is one central PC and 2 additional PCs all linked with standard ms
networking with DHCP routing. All the PCs are on the same workgroup, and
there is no domain server.

The goal is to create a series of xcopy commands to go and pull down
specific directories from the 2 additional PCs onto the central PC.

So I did 2 drive mappings to the additional PCs, K: and L:
There are several folders in K: that I want to pull to the central PC and
only one folder in L:
All the appropriate file sharing is set, so that I can see everyone from the
Central PC.
The central PC is XP Pro, one of the additional PCs is XP and the remaining
with multiple folders to grab is Win98se.

I tried a syntax like the following, but it doesn't work: (this is to place
the files from the Win98se PC onto the central PC from which the script will
be run...)

xcopy "K:\My Documents\*.*" "C:\Kathy's Backups\_Kathe Docs" E/I/Q/H/R/Y

Can anyone help with the proper syntax to grab these files from the K: PC?

Thank you for any help out there!!!

-George


I used a script similar to:
XCOPY \\comp_name\folder1\folder2\*.* c:\name\backup /D /S /R /Y
without any problems talking from XP Pro to Windows XP and Windows 98.
I notice that the flags used are completely different. Also I didn't
map the drives.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top