Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How can I copy msdos.sys??

849 views
Skip to first unread message

Sander Klaassen

unread,
Nov 5, 1998, 3:00:00 AM11/5/98
to
I want to copy msdos.sys from a: to c:\x.
When I type "dir/a" I can see the file.
But when I type an a:\ "copy msdos.sys c:\" pc calls:
File not found - msdos.sys
0 file(s) copied
What am I doing wrong?

Sander Klaassen

Gerry Kroll

unread,
Nov 5, 1998, 3:00:00 AM11/5/98
to
In article <71r4eu$j8o$1...@reader2.wxs.nl>, Sander Klaassen (bo...@wxs.nl)
says...

MSDOS.SYS and IO.SYS are read-only, system, and hidden files. They aren't
visible to the COPY command.

You can remove the read-only, system, and hidden attributes on these two
files. Use the ATTRIB command:

ATTRIB -R -H -S a:\io.sys
ATTRIB -R -H -S a:\msdos.sys

After you have copied your files, be sure to restore the attributes on these
two files. IO.SYS *must* be first in the root directory, otherwise the
disk won't be properly bootable. If this file isn't marked as "system",
it's subject to relocation. When that happens, your disk may no longer be
bootable.

--
.
.
Regards,
Gerry Kroll, PWGSC, Government of Canada
.
E-mail address: gerry (dot) kroll (at) pwgsc (dot) gc (dot) ca


Connor

unread,
Nov 5, 1998, 3:00:00 AM11/5/98
to
> MSDOS.SYS and IO.SYS are read-only, system, and hidden files. They aren't
> visible to the COPY command.
>
> You can remove the read-only, system, and hidden attributes on these two
> files. Use the ATTRIB command:
>
> ATTRIB -R -H -S a:\io.sys
> ATTRIB -R -H -S a:\msdos.sys
>
> After you have copied your files, be sure to restore the attributes on these
> two files. IO.SYS *must* be first in the root directory, otherwise the
> disk won't be properly bootable. If this file isn't marked as "system",
> it's subject to relocation. When that happens, your disk may no longer be
> bootable.
>

Once Again, He doesn't want to copy the files. It is better to use

SYS (where files come from) (drive they are going to)
eg; SYS C:\DOS A:

Sander Klaassen

unread,
Nov 5, 1998, 3:00:00 AM11/5/98
to
Thank you all for helping!

My problem is solved.
I had to us "ATTRIB -R -H -S MSDOS.SYS" to make this file unhidden..
Then i could copy the file from the 5 1/4 to my 3 1/2 disk without a
problem..
The only problem I had with "ATTRIB -R -H -S MSDOS.SYS" was that the disk
was written protected so I had to cut a piece out of the original disk..

Greetings
Sander Klaassen

Sander Klaassen

unread,
Nov 5, 1998, 3:00:00 AM11/5/98
to
>Once Again, He doesn't want to copy the files. It is better to use
>
> SYS (where files come from) (drive they are going to)
>eg; SYS C:\DOS A:


You are right but that was not the question...
When I copied the files the disk was still not bootable...
So I had to use other methode see other question:
"My first disk is't bootable...."

Thanx for helping!


ras...@highfiber.com

unread,
Nov 7, 1998, 3:00:00 AM11/7/98
to
In article <71r4eu$j8o$1...@reader2.wxs.nl>,

"Sander Klaassen" <bo...@wxs.nl> wrote:
> I want to copy msdos.sys from a: to c:\x.
> When I type "dir/a" I can see the file.
> But when I type an a:\ "copy msdos.sys c:\" pc calls:
> File not found - msdos.sys
> 0 file(s) copied
> What am I doing wrong?

Do this:
ATTRIB +S -H +R A:\MSDOS.SYS

The +S attribute will keep MSDOS.SYS from appearing in
the default DIR display; the +R prevents it from being
deleted by accident; and the -H allows the COPY command
to see it. (Changing the attributes will not prevent
the disk from being bootable.)

You only need to do this once, and there's no need to
change the attributes back after the file has been
copied, so you can use this method with write-protected
floppies. You can do the same to IO.SYS too, of course.

ras...@highfiber.com

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own

0 new messages