DOS command for copying everything including subdirectory

rutchtkim

Golden Member
Aug 2, 2001
1,880
0
0
What is the command to copy an entire folder including its subdirectories in DOS?? I'm trying to copy I386 from the cd to my hard-drive, but I forgot the command.
 

BlakeM

Junior Member
Jun 2, 2001
13
0
0
xcopy source destination /s /e /Y

Mine just for testing looked like:

C:\My Documents\AIM>xcopy *.* ..\Test /s /e /Y
announce.lst
MSWINSCK.OCX
AIMFilter.exe
autokill.lst
config.ini
aim.zip
Test
Aim\hi
8 File(s) copied

/s copies all directories
/e copies all directories including empty ones(have to use /s with it)
/Y supressed all overwrite dialogs

Hope that helps.

 

edblor

Diamond Member
Apr 23, 2000
7,921
0
76
I believe it is XCOPY!

Try this:

XCOPY32 H:\I386\*.* C:\I386\ /E

That should work for ya;)

Edblor