copy directory including 'base' folder

view full story

http://serverfault.com – I need to copy folderA into folderB via the command line: c:\temp \folderA \folderB should become c:\temp \folderA \folderB\folderA That is, exactly the same as if you copied folderA using windows explorer and pasted it into folderB. This does not work: xcopy /e folder1 folder2\ as you end up with the contents of folderA in folderB and not folderA itself. Funnily enough, move does exactly what I want except that it moves instead of copy :) How do you copy a folder and include the folder itself as the base folder for the copy? I shouldn't have t (HowTos)