Discussion Locked

DOS "COPY" won't copy Directories to HDD

0 helpful
13 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Upon trying to do a WIN98 copy and install from the HDD I discovered that my knowledgs of DOS is still probably 1% (on the high side) no matter how much I mess with it. I copied the WIN 98 files and Setup.exe to my HDD. My install of 98 & 98SE went without a glitch. However I'm still unable to copy the TOOLS & DRIVERS directories to the HDD. I've followed every scenario in the DOS 6.22 book by QUE to the letter. In reading I find that XCOPY is used to copy entire directories with their sub-directories. Once again all parameters were followed exactly. Switches E & S didn't help either.
As in DOS. /?
Many thanks

13 replies

by johngreer

What error are you getting?
Did you use the short directory names,
e.g. LongDirectoryName is actually LongDi~1

by thechas

If you are booting from a W98 startup disk, or a Windows boot disk, you do NOT have DOS 6.22

The DOS 7(?) that is on these boot disks do not work the same as good old DOS.

Give XXCOPY
http://www.xxcopy.com/index.html#pagetop
a try.
It gets past some of the limitations that Microsoft gave us starting with W95.

If you are using a true DOS 6.22 disk, you are likely having problems with long file names, or names with characters that are not supported by DOS.

What I do, is use a hot-swap bay on my main PC to temporarily mount the drive for a new PC.
I can set up the drive, copy the Windows CD, and copy downloaded device drivers.

Chas

by techkid

furthermore, if you've successfully copied the WIN98 directory from the cd to your HD that is all you need to install Win98. You'll have to download drivers that aren't detected but that's a good idea anyway since you'll get the latest ones.

by gweb09

John:Yes,short file name. Error said 'file not found'.
First syntax I tried was
XCOPY D:\TOOLS*.* C:\TOOLS
Chas: I had wondered if DOS 7 had something to do with it. This isn't the first time the 6.22 book hasn't worked. Will try XXCOPY.

by gweb09

After installing XXCOPY (which BTW is pretty awsome)I still didn't have any luck in copying the directories & subs to the HDD.First command was "MD C:\TOOLS" which was successful. Next was
XXCOPY D:\TOOLS\*.* C:\TOOLS /S/E. Both XCOPY and XXCOPY worked in Windows MS-DOS Prompt but what's the point of that? Hours and commands later I surrendered to more important tasks. I'm still waiting on a reply from 2 outside sources so I can hopefully post the answer here.

by deadly ernest

You most probably don't want to hear this but many of the DOS commands are NOT in the Win 98 minimal load version of DOS or the Win 98 Bootdisk. The last version of DOS that I could get XCOPY and DELTREE to work in were DOS 6 none of the 6.21 or later versions do they work.

When doing what you are doing I found I had to use MD to create the directories one at a time and then populate them by commands like

C:\ COPY D:\TOOLS\*.* C:\TOOLS\*.*

and copy the files into each directory, then repeat for each sub directory.

You will also run into the DOS file length problem.

I now have a version of Win 98 that is CAB files in one directory, this allows me to load a working Win 98 system then use it to copy the rest and Win 98SE in an operational Windows system.

by gweb09

To eebywater: According to a very savey DOS lady, you and Chas are absolutely right about the version problem. I ended up doing the Cab files only and then the simple copy directly from windows for the rest. Thanks

This discussion is closed to new replies.