windows - Copying a folder in the command prompt -


i trying copy folder 1 directory in cmd in windows 7.

i have found commands copying individual files:

copy test.txt "c:\newlocation" 

which works fine. trying this:

copy "c:\test" "c:\newlocation"

doesn't work. wants take contents of directory , move them over. there anyway copy folder , move opposed entire directory contents?

thanks.

use xcopy instead of copy:

xcopy "c:\test" "c:\newlocation" /s /e 

source


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -