directory tree - move or copy

Nov 14, 2008
4
0
#1
Hello -

To copy or move a directory subtree the instructions say use "/S" but there
is no example to show how to use it. If one wants to move a directory and its contents, what does one type after "/S"?

Regards

_John Sampson_
 
#2

rconn

Administrator
Staff member
May 14, 2008
10,403
95
#3
To copy or move a directory subtree the instructions say use "/S" but there is no example to show how to use it. If one wants to move a directory and its contents, what does one type after "/S"?
QUOTE]

move /md /s source\ target\

where "source" is the source directory and "target" is the target directory. (The /MD will create the target if it doesn't already exist.)
 
#4
On Mon, 20 Dec 2010 13:45:00 -0500, rconn <> wrote:

|
|To copy or move a directory subtree the instructions say use "/S" but there is no example to show how to use it. If one wants to move a directory and its contents, what does one type after "/S"?
|QUOTE]
|
|move /md /s source\ target\
|
|where "source" is the source directory and "target" is the target directory. (The /MD will create the target if it doesn't already exist.)

It's still not clear, especially to a newbie. With the above, do you wind up
with target\source\... or do you have what used to be **in** source\ now in
target\?