Computing.Net > Forums > Disk Operating System > DOS copying files / drive to drive.

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.

DOS copying files / drive to drive.

Reply to Message Icon

Name: ptstannard
Date: April 19, 2005 at 01:31:19 Pacific
OS: Windows XP
CPU/Ram: Athlon 1.33 / 256 megs
Comment:

Hi,

I was looking for someone to point me in the right direction when it comes to copying files from one drive to another in DOS.

Firstly, can it be done with xcopy without DOS shortening all the names?

Secondly, is there a command that makes sure that xcopy accounts for all the subfolders and files within a main folder?

One of drives is somehow broken and cannot be picked up in a windows enviroment AT ALL. Hence my painfully slow xcopy ordeal. Anyone know of little DOS based program where you can use a mouse to drag and drop? This would be a lifesaver.

Thanks!

Paul S.



Sponsored Link
Ads by Google

Response Number 1
Name: Mechanix2Go
Date: April 19, 2005 at 04:32:02 Pacific
Reply:

Hi Paul,

You can not avoid DOS 'shortening' the long file names without a 3rd party LFN provider.

Next, the switch you want to get the subdirectories is /s.

Yes, it will be slow. You can help the speed by running smartdrv.

As to mouseable DOS file selection, don't know of any.

HTH


M2


If at first you don't succeed, you're about average.


0

Response Number 2
Name: jboy
Date: April 19, 2005 at 07:58:20 Pacific
Reply:

Just what version of "DOS" are you using? The XP command prompt? Bootdisk?

Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.


0

Response Number 3
Name: wizard-fred
Date: April 19, 2005 at 12:11:29 Pacific
Reply:

To include empty subdirectories /E

There 'may' be a utility that copies the long file names into a file for restoration under a FAT32 environment.


0

Response Number 4
Name: ptstannard
Date: April 19, 2005 at 23:08:24 Pacific
Reply:

Thanks all,

What's the command to get smartdrv up and running before the copy?

I'm using a bootdisk.

I tried the /s and /e commands with xcopy which indeed copies the subdirectories, but they're empty of files >:(

Paul S.


0

Response Number 5
Name: wizard-fred
Date: April 20, 2005 at 01:29:16 Pacific
Reply:

/s should copy subdirectories with files.
/e creates empty subdirectories.

smartdrv should be installed in the config.sys.


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






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: DOS copying files / drive to drive.

copy file to variable folder in bat www.computing.net/answers/dos/copy-file-to-variable-folder-in-bat/16199.html

copy file to an IP www.computing.net/answers/dos/copy-file-to-an-ip/14212.html

Copy files from DOS to HPFS Drive with Win NT www.computing.net/answers/dos/copy-files-from-dos-to-hpfs-drive-with-win-nt/1599.html