Computing.Net > Forums > Disk Operating System > How Can I Copy Folders

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

How Can I Copy Folders

Reply to Message Icon

Name: alfarok
Date: March 8, 2003 at 17:37:58 Pacific
OS: WindowsXP
CPU/Ram: 256Mb
Comment:

How can I copy some Folders from Dos in one time.. because ( Xcopy ) command didn't work with it ..



Sponsored Link
Ads by Google

Response Number 1
Name: G
Date: March 8, 2003 at 23:05:38 Pacific
Reply:

Hello,

Try using xopy with the /S switch.

i.e. xcopy c:\source c:\dest /s

where c:\source has subfolders and c:\dest has already been created.

G


0

Response Number 2
Name: Ronin1
Date: March 9, 2003 at 13:06:09 Pacific
Reply:

xcopy is the way to go in basic dos. For your version try help xcopy or xcopy /?

From win98

Copies files and directory trees.

XCOPY source [destination] [/A | /M] [/D[:date]] [/P] [/S [/E]] [/W]
[/C] [/I] [/Q] [/F] [/L] [/H] [/R] [/T] [/U]
[/K] [/N]

source Specifies the file(s) to copy.
destination Specifies the location and/or name of new files.
/A Copies files with the archive attribute set,
doesn't change the attribute.
/M Copies files with the archive attribute set,
turns off the archive attribute.
/D:date Copies files changed on or after the specified date.
If no date is given, copies only those files whose
source time is newer than the destination time.
/P Prompts you before creating each destination file.
/S Copies directories and subdirectories except empty ones.
/E Copies directories and subdirectories, including empty ones.
Same as /S /E. May be used to modify /T.
/W Prompts you to press a key before copying.
/C Continues copying even if errors occur.
/I If destination does not exist and copying more than one file,
assumes that destination must be a directory.
/Q Does not display file names while copying.
/F Displays full source and destination file names while copying.
/L Displays files that would be copied.
/H Copies hidden and system files also.
/R Overwrites read-only files.
/T Creates directory structure, but does not copy files. Does not
include empty directories or subdirectories. /T /E includes
empty directories and subdirectories.
/U Updates the files that already exist in destination.
/K Copies attributes. Normal Xcopy will reset read-only attributes.
/Y Overwrites existing files without prompting.
/-Y Prompts you before overwriting existing files.
/N Copy using the generated short names.


0

Response Number 3
Name: alfarok
Date: March 9, 2003 at 14:00:08 Pacific
Reply:

Thanks very much i'll try


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: How Can I Copy Folders

How can I copy directories?? www.computing.net/answers/dos/how-can-i-copy-directories/12843.html

How can I exclude the folders? www.computing.net/answers/dos/how-can-i-exclude-the-folders/16545.html

how do i copy from dos www.computing.net/answers/dos/how-do-i-copy-from-dos/3580.html