I am using the XP system.
Need to move a folder. There are subfolders and files under the folder.
For example, there is a folder A under the C drive. There are folders 1, 2, 3, 4.... inside it, all with files. There are also files in the root directory of folder A. Need to move all the contents inside folder A to directory B on the D drive (it's the files and folders under A, not the entire folder A).
The move command cannot be used to move folders.
I thought about using xcopy and then deleting the directory, but encountered another problem.
del can only delete files.
rd can delete folders, but it also deletes folder A together (I need to keep folder A, but not the files and folders inside it).
Do I make myself clear? Can anyone help?
[ Last edited by icekirin on 2007-11-13 at 11:24 PM ]
Need to move a folder. There are subfolders and files under the folder.
For example, there is a folder A under the C drive. There are folders 1, 2, 3, 4.... inside it, all with files. There are also files in the root directory of folder A. Need to move all the contents inside folder A to directory B on the D drive (it's the files and folders under A, not the entire folder A).
The move command cannot be used to move folders.
I thought about using xcopy and then deleting the directory, but encountered another problem.
del can only delete files.
rd can delete folders, but it also deletes folder A together (I need to keep folder A, but not the files and folders inside it).
Do I make myself clear? Can anyone help?
[ Last edited by icekirin on 2007-11-13 at 11:24 PM ]
