views:

39

answers:

3

Hi all,

My question is

I have 3 directories and 5 files in C:\test

I want cut and paste all the files and directories under C:\test to C:\demo through command line in windows. Plz help me in this

Thx in advance

A: 

If you know the directory names:

move c:\test\directory1 c:\demo
move c:\test\directory2 c:\demo
move c:\test\directory3 c:\demo
move c:\test\directory4 c:\demo
move c:\test\directory5 c:\demo
Pekka
A: 

Use Xcopy

xcopy c:\test c:\demo /e /h

CodeByMoonlight
A: 

XCopy is old-school, Robocopy's where it's at

robocopy C:\test C:\demo /MIR
Paul Betts