Computing.Net > Forums > Disk Operating System > HELP COPYING SUBFOLDERS IN DOS!!

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.

HELP COPYING SUBFOLDERS IN DOS!!

Reply to Message Icon

Name: DrewL
Date: December 18, 2000 at 03:36:03 Pacific
Comment:

Am building a computer for grandparents and
I need to copy a directory with ALL the subfolders. What command can I use with "copy"?

THANKS in advance!! :>)



Sponsored Link
Ads by Google

Response Number 1
Name: ¤¤¥¤Ö
Date: December 18, 2000 at 04:36:11 Pacific
Reply:

You'll need to use xcopy, as follows:
xcopy/s source [destination]
to copy all files in all subdirectories, but hidden files and hidden directories will not be copied.
Xcopy will also allow you to include empty subdirectories, or to exclude certain files, based on file attributes, as well as to keep track of which files have been copied so far. If you're using DOS 6.xx or higher, type help xcopy to see the details. If you are copying from one disk to another, be sure there is enough room on the destination disk to hold all of those files (especially if it's a floppy).


0

Response Number 2
Name:
Date: December 18, 2000 at 12:47:50 Pacific
Reply:

Minor point!
You get Folders in Windows
BUT Directories in DOS
i.e. DIR to list 'Directory'
Not that it matters much!


0

Response Number 3
Name: Preston
Date: December 18, 2000 at 21:09:33 Pacific
Reply:

a program called xxcopy16.exe is a bit easier to use, in my opinion, than xcopy

http://www.xxcopy.com/xxcopy/


0

Response Number 4
Name: fred6008
Date: December 23, 2000 at 06:35:26 Pacific
Reply:

Don't try to xcopy Windows 95 or later because there are too many hidden files AND long filenames will be truncated in DOS.
Other than that "XCOPY C: D: /S" for a drive.
or make the directory on the target drive first (ie MD DOS) Then it is XCOPY C:\DOS D:\DOS /S for a directory. The /S copies any subdirectories. (\DOS\TEMP for example)


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: HELP COPYING SUBFOLDERS IN DOS!!

copy command in dos www.computing.net/answers/dos/copy-command-in-dos/12489.html

Copy Drive in DOS www.computing.net/answers/dos/copy-drive-in-dos/9258.html

need help activating sb in dos www.computing.net/answers/dos/need-help-activating-sb-in-dos/13358.html