Anyone know of a command line replacement for copy that will copy
subfolders as with xcopy in Win32?

Or is the source code to the inbuilt copy command available for
modification? {i have looked but cannot find it}

many thanks, Col

Re: Copy inc Subfolders? by Paul

Paul
Tue Feb 06 11:01:59 CST 2007

No, there's no source, but I'm sure it's just calling CopyFile(). Writing
your own version of xcopy for directory structure is a pretty simple
programming exercise (FindFirstFile(), FindNextFile(), CopyFile(),
FindFirstFile(directory), FindNextFile(), CreateDirectory(), repeat).

Paul T.

"Zhastaph" <colin@icrtouch.com> wrote in message
news:1170779024.497523.278200@h3g2000cwc.googlegroups.com...
> Anyone know of a command line replacement for copy that will copy
> subfolders as with xcopy in Win32?
>
> Or is the source code to the inbuilt copy command available for
> modification? {i have looked but cannot find it}
>
> many thanks, Col
>



Re: Copy inc Subfolders? by Zhastaph

Zhastaph
Tue Feb 06 11:07:53 CST 2007

On Feb 6, 5:01 pm, "Paul G. Tobey [eMVP]" <p space tobey no spam AT no
instrument no spam DOT com> wrote:
> No, there's no source, but I'm sure it's just calling CopyFile(). Writing
> your own version of xcopy for directory structure is a pretty simple
> programming exercise (FindFirstFile(), FindNextFile(), CopyFile(),
> FindFirstFile(directory), FindNextFile(), CreateDirectory(), repeat).
>
> Paul T.


Yeah, I know but I'm lazy :o)