Computer Hope

Microsoft => Microsoft DOS => Topic started by: DaLiMan on June 11, 2007, 02:13:49 AM

Title: Xcopy form network
Post by: DaLiMan on June 11, 2007, 02:13:49 AM
I'm trying XCopy from an folder on the network.
Since it is not working I'm wondering this is even possible.   ???

Code: [Select]
xcopy \\Nlf18s01\nlf18$\Test\*.* /a/e C:\Test /y
Title: Re: Xcopy form network
Post by: Dark Blade on June 11, 2007, 02:20:56 AM
I'm not exactly sure, but try this:
Code: [Select]
xcopy \\Nlf18s01\nlf18$\Test\*.* C:\Test /a/e/y 

Quote
Copies files and directory trees.

XCOPY source [destination] [/A | /M] [/D[:date]] [/P] [/S [/E]] [/V] [/W]
                           [/C] [/I] [/Q] [/F] [/L] [/G] [/H] [/R] [/T] [/U]
                           [/K] [/N] [/O] [/X] [/Y] [/-Y] [/Z]
                           [/EXCLUDE:file1[+file2][+file3]...]
I think that you need the source, the destination, and then the parameters.